Package com.oracle.bmc.self.model
Class ListingSubscriptionSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.self.model.ListingSubscriptionSummary.Builder
-
- Enclosing class:
- ListingSubscriptionSummary
public static class ListingSubscriptionSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListingSubscriptionSummarybuild()ListingSubscriptionSummary.Buildercopy(ListingSubscriptionSummary model)ListingSubscriptionSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ListingSubscriptionSummary.BuilderdisplayName(String displayName)The subscription name.ListingSubscriptionSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ListingSubscriptionSummary.BuilderlifecycleDetails(LifecycleDetailsEnum lifecycleDetails)A message that describes the current state of the Subscription in more detail.ListingSubscriptionSummary.BuilderlifecycleState(LifecycleStateEnum lifecycleState)The current state of the Subscription.ListingSubscriptionSummary.BuilderproductId(String productId)The unique identifier of marketplace listing in Oracle Cloud Infrastructure.ListingSubscriptionSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ListingSubscriptionSummary.BuildertimeEnded(Date timeEnded)The date and time the Subscription was ended, in the format defined by RFC 3339.ListingSubscriptionSummary.BuildertimeStarted(Date timeStarted)The date and time the Subscription was started, in the format defined by RFC 3339.
-
-
-
Method Detail
-
displayName
public ListingSubscriptionSummary.Builder displayName(String displayName)
The subscription name.Must be unique within the compartment. This value can be updated.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
productId
public ListingSubscriptionSummary.Builder productId(String productId)
The unique identifier of marketplace listing in Oracle Cloud Infrastructure.- Parameters:
productId- the value to set- Returns:
- this builder
-
timeStarted
public ListingSubscriptionSummary.Builder timeStarted(Date timeStarted)
The date and time the Subscription was started, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeStarted- the value to set- Returns:
- this builder
-
timeEnded
public ListingSubscriptionSummary.Builder timeEnded(Date timeEnded)
The date and time the Subscription was ended, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeEnded- the value to set- Returns:
- this builder
-
lifecycleState
public ListingSubscriptionSummary.Builder lifecycleState(LifecycleStateEnum lifecycleState)
The current state of the Subscription.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ListingSubscriptionSummary.Builder lifecycleDetails(LifecycleDetailsEnum lifecycleDetails)
A message that describes the current state of the Subscription in more detail.For example, can be used to provide actionable information for a resource in the Failed state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public ListingSubscriptionSummary.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 ListingSubscriptionSummary.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 ListingSubscriptionSummary.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 ListingSubscriptionSummary build()
-
copy
public ListingSubscriptionSummary.Builder copy(ListingSubscriptionSummary model)
-
-