Package com.oracle.bmc.fusionapps.model
Class ServiceAttachment.Builder
- java.lang.Object
-
- com.oracle.bmc.fusionapps.model.ServiceAttachment.Builder
-
- Enclosing class:
- ServiceAttachment
public static class ServiceAttachment.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceAttachment
build()
ServiceAttachment.Builder
compartmentId(String compartmentId)
Compartment IdentifierServiceAttachment.Builder
copy(ServiceAttachment model)
ServiceAttachment.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ServiceAttachment.Builder
displayName(String displayName)
Service Attachment Display name, can be renamedServiceAttachment.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ServiceAttachment.Builder
id(String id)
Unique identifier that is immutable on creationServiceAttachment.Builder
isSkuBased(Boolean isSkuBased)
Whether this service is provisioned due to the customer being subscribed to a specific SKUServiceAttachment.Builder
lifecycleState(ServiceAttachment.LifecycleState lifecycleState)
The current state of the ServiceInstance.ServiceAttachment.Builder
serviceInstanceId(String serviceInstanceId)
The ID of the service instance created that can be used to identify this on the service control planeServiceAttachment.Builder
serviceInstanceType(ServiceAttachment.ServiceInstanceType serviceInstanceType)
Type of the serviceInstance.ServiceAttachment.Builder
serviceUrl(String serviceUrl)
Public URLServiceAttachment.Builder
timeCreated(Date timeCreated)
The time the the ServiceInstance was created.ServiceAttachment.Builder
timeUpdated(Date timeUpdated)
The time the ServiceInstance was updated.
-
-
-
Method Detail
-
id
public ServiceAttachment.Builder id(String id)
Unique identifier that is immutable on creation- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public ServiceAttachment.Builder compartmentId(String compartmentId)
Compartment Identifier- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
serviceInstanceId
public ServiceAttachment.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
-
displayName
public ServiceAttachment.Builder displayName(String displayName)
Service Attachment Display name, can be renamed- Parameters:
displayName
- the value to set- Returns:
- this builder
-
serviceInstanceType
public ServiceAttachment.Builder serviceInstanceType(ServiceAttachment.ServiceInstanceType serviceInstanceType)
Type of the serviceInstance.- Parameters:
serviceInstanceType
- the value to set- Returns:
- this builder
-
serviceUrl
public ServiceAttachment.Builder serviceUrl(String serviceUrl)
Public URL- Parameters:
serviceUrl
- the value to set- Returns:
- this builder
-
timeCreated
public ServiceAttachment.Builder timeCreated(Date timeCreated)
The time the the ServiceInstance was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ServiceAttachment.Builder timeUpdated(Date timeUpdated)
The time the ServiceInstance was updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public ServiceAttachment.Builder lifecycleState(ServiceAttachment.LifecycleState lifecycleState)
The current state of the ServiceInstance.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
isSkuBased
public ServiceAttachment.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 ServiceAttachment.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 ServiceAttachment.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 ServiceAttachment build()
-
copy
public ServiceAttachment.Builder copy(ServiceAttachment model)
-
-