Package com.oracle.bmc.fusionapps.model
Class ServiceAttachmentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.fusionapps.model.ServiceAttachmentSummary.Builder
-
- Enclosing class:
- ServiceAttachmentSummary
public static class ServiceAttachmentSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceAttachmentSummarybuild()ServiceAttachmentSummary.Buildercopy(ServiceAttachmentSummary model)ServiceAttachmentSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ServiceAttachmentSummary.BuilderdisplayName(String displayName)ServiceInstance Identifier, can be renamedServiceAttachmentSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ServiceAttachmentSummary.Builderid(String id)Unique identifier that is immutable on creationServiceAttachmentSummary.BuilderisSkuBased(Boolean isSkuBased)Whether this service is provisioned due to the customer being subscribed to a specific SKUServiceAttachmentSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.ServiceAttachmentSummary.BuilderlifecycleState(ServiceAttachment.LifecycleState lifecycleState)The current state of the ServiceInstance.ServiceAttachmentSummary.BuilderserviceInstanceId(String serviceInstanceId)The ID of the service instance created that can be used to identify this on the service control planeServiceAttachmentSummary.BuilderserviceInstanceType(ServiceAttachment.ServiceInstanceType serviceInstanceType)Type of the service.ServiceAttachmentSummary.BuilderserviceUrl(String serviceUrl)Service URL of the instanceServiceAttachmentSummary.BuildertimeCreated(Date timeCreated)The time the service instance was created.ServiceAttachmentSummary.BuildertimeUpdated(Date timeUpdated)The time the serivce instance was updated.
-
-
-
Method Detail
-
id
public ServiceAttachmentSummary.Builder id(String id)
Unique identifier that is immutable on creation- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public ServiceAttachmentSummary.Builder displayName(String displayName)
ServiceInstance Identifier, can be renamed- Parameters:
displayName- the value to set- Returns:
- this builder
-
serviceInstanceType
public ServiceAttachmentSummary.Builder serviceInstanceType(ServiceAttachment.ServiceInstanceType serviceInstanceType)
Type of the service.- Parameters:
serviceInstanceType- the value to set- Returns:
- this builder
-
serviceInstanceId
public ServiceAttachmentSummary.Builder serviceInstanceId(String serviceInstanceId)
The ID of the service instance created that can be used to identify this on the service control plane- Parameters:
serviceInstanceId- the value to set- Returns:
- this builder
-
serviceUrl
public ServiceAttachmentSummary.Builder serviceUrl(String serviceUrl)
Service URL of the instance- Parameters:
serviceUrl- the value to set- Returns:
- this builder
-
timeCreated
public ServiceAttachmentSummary.Builder timeCreated(Date timeCreated)
The time the service instance was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ServiceAttachmentSummary.Builder timeUpdated(Date timeUpdated)
The time the serivce instance was updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public ServiceAttachmentSummary.Builder lifecycleState(ServiceAttachment.LifecycleState lifecycleState)
The current state of the ServiceInstance.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ServiceAttachmentSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
isSkuBased
public ServiceAttachmentSummary.Builder isSkuBased(Boolean isSkuBased)
Whether this service is provisioned due to the customer being subscribed to a specific SKU- Parameters:
isSkuBased- the value to set- Returns:
- this builder
-
freeformTags
public ServiceAttachmentSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ServiceAttachmentSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public ServiceAttachmentSummary build()
-
copy
public ServiceAttachmentSummary.Builder copy(ServiceAttachmentSummary model)
-
-