Class DelegationSubscription.Builder
- java.lang.Object
-
- com.oracle.bmc.delegateaccesscontrol.model.DelegationSubscription.Builder
-
- Enclosing class:
- DelegationSubscription
public static class DelegationSubscription.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DelegationSubscriptionbuild()DelegationSubscription.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the Delegation Subscription.DelegationSubscription.Buildercopy(DelegationSubscription model)DelegationSubscription.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.DelegationSubscription.Builderdescription(String description)Description of the Delegation Subscription.DelegationSubscription.BuilderdisplayName(String displayName)Display nameDelegationSubscription.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.DelegationSubscription.Builderid(String id)Unique identifier for the Delegation Subscription.DelegationSubscription.BuilderlifecycleState(DelegationSubscription.LifecycleState lifecycleState)The current lifecycle state of the Service Provider.DelegationSubscription.BuilderlifecycleStateDetails(String lifecycleStateDetails)Description of the current lifecycle state in more detail.DelegationSubscription.BuilderserviceProviderId(String serviceProviderId)Unique identifier of the Service Provider.DelegationSubscription.BuildersubscribedServiceType(ServiceProviderServiceType subscribedServiceType)Subscribed Service Provider Service Type.DelegationSubscription.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.DelegationSubscription.BuildertimeCreated(Date timeCreated)Time when the Service Provider was created expressed in RFC 3339 timestamp format, e.g.DelegationSubscription.BuildertimeUpdated(Date timeUpdated)Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g.
-
-
-
Method Detail
-
id
public DelegationSubscription.Builder id(String id)
Unique identifier for the Delegation Subscription.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public DelegationSubscription.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Delegation Subscription.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public DelegationSubscription.Builder displayName(String displayName)
Display name- Parameters:
displayName- the value to set- Returns:
- this builder
-
serviceProviderId
public DelegationSubscription.Builder serviceProviderId(String serviceProviderId)
Unique identifier of the Service Provider.- Parameters:
serviceProviderId- the value to set- Returns:
- this builder
-
description
public DelegationSubscription.Builder description(String description)
Description of the Delegation Subscription.- Parameters:
description- the value to set- Returns:
- this builder
-
subscribedServiceType
public DelegationSubscription.Builder subscribedServiceType(ServiceProviderServiceType subscribedServiceType)
Subscribed Service Provider Service Type.- Parameters:
subscribedServiceType- the value to set- Returns:
- this builder
-
lifecycleState
public DelegationSubscription.Builder lifecycleState(DelegationSubscription.LifecycleState lifecycleState)
The current lifecycle state of the Service Provider.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public DelegationSubscription.Builder lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.- Parameters:
lifecycleStateDetails- the value to set- Returns:
- this builder
-
timeCreated
public DelegationSubscription.Builder timeCreated(Date timeCreated)
Time when the Service Provider was created expressed in RFC 3339 timestamp format, e.g.‘2020-05-22T21:10:29.600Z’
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public DelegationSubscription.Builder timeUpdated(Date timeUpdated)
Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g.‘2020-05-22T21:10:29.600Z’
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public DelegationSubscription.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public DelegationSubscription.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public DelegationSubscription.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public DelegationSubscription build()
-
copy
public DelegationSubscription.Builder copy(DelegationSubscription model)
-
-