Package com.oracle.bmc.apiplatform.model
Class ApiPlatformInstanceSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.apiplatform.model.ApiPlatformInstanceSummary.Builder
-
- Enclosing class:
- ApiPlatformInstanceSummary
public static class ApiPlatformInstanceSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiPlatformInstanceSummary
build()
ApiPlatformInstanceSummary.Builder
compartmentId(String compartmentId)
The OCID of the compartmentApiPlatformInstanceSummary.Builder
copy(ApiPlatformInstanceSummary model)
ApiPlatformInstanceSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ApiPlatformInstanceSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ApiPlatformInstanceSummary.Builder
id(String id)
The OCID of the instanceApiPlatformInstanceSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the Instance in more detail.ApiPlatformInstanceSummary.Builder
lifecycleState(ApiPlatformInstance.LifecycleState lifecycleState)
The current state of the instanceApiPlatformInstanceSummary.Builder
name(String name)
A regionally unique, non-changeable instance name provided by the user during creationApiPlatformInstanceSummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.ApiPlatformInstanceSummary.Builder
timeCreated(Date timeCreated)
The date and time the instance was created, in the format defined by RFC 3339.ApiPlatformInstanceSummary.Builder
timeUpdated(Date timeUpdated)
The date and time the instance was updated, in the format defined by RFC 3339
-
-
-
Method Detail
-
id
public ApiPlatformInstanceSummary.Builder id(String id)
The OCID of the instance- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public ApiPlatformInstanceSummary.Builder name(String name)
A regionally unique, non-changeable instance name provided by the user during creation- Parameters:
name
- the value to set- Returns:
- this builder
-
compartmentId
public ApiPlatformInstanceSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeCreated
public ApiPlatformInstanceSummary.Builder timeCreated(Date timeCreated)
The date and time the instance was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ApiPlatformInstanceSummary.Builder timeUpdated(Date timeUpdated)
The date and time the instance was updated, in the format defined by RFC 3339Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public ApiPlatformInstanceSummary.Builder lifecycleState(ApiPlatformInstance.LifecycleState lifecycleState)
The current state of the instance- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public ApiPlatformInstanceSummary.Builder lifecycleDetails(String lifecycleDetails)
A message that describes the current state of the Instance 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 ApiPlatformInstanceSummary.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 ApiPlatformInstanceSummary.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
-
systemTags
public ApiPlatformInstanceSummary.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 ApiPlatformInstanceSummary build()
-
copy
public ApiPlatformInstanceSummary.Builder copy(ApiPlatformInstanceSummary model)
-
-