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