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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiPlatformInstanceSummarybuild()ApiPlatformInstanceSummary.BuildercompartmentId(String compartmentId)The OCID of the compartmentApiPlatformInstanceSummary.Buildercopy(ApiPlatformInstanceSummary model)ApiPlatformInstanceSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ApiPlatformInstanceSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ApiPlatformInstanceSummary.Builderid(String id)The OCID of the instanceApiPlatformInstanceSummary.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the Instance in more detail.ApiPlatformInstanceSummary.BuilderlifecycleState(ApiPlatformInstance.LifecycleState lifecycleState)The current state of the instanceApiPlatformInstanceSummary.Buildername(String name)A regionally unique, non-changeable instance name provided by the user during creationApiPlatformInstanceSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ApiPlatformInstanceSummary.BuildertimeCreated(Date timeCreated)The date and time the instance was created, in the format defined by RFC 3339.ApiPlatformInstanceSummary.BuildertimeUpdated(Date timeUpdated)The date and time the instance was updated, in the format defined by RFC 3339
 
- 
- 
- 
Method Detail- 
idpublic ApiPlatformInstanceSummary.Builder id(String id) The OCID of the instance- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
namepublic 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
 
 - 
compartmentIdpublic ApiPlatformInstanceSummary.Builder compartmentId(String compartmentId) The OCID of the compartment- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
lifecycleStatepublic ApiPlatformInstanceSummary.Builder lifecycleState(ApiPlatformInstance.LifecycleState lifecycleState) The current state of the instance- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic 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
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
buildpublic ApiPlatformInstanceSummary build() 
 - 
copypublic ApiPlatformInstanceSummary.Builder copy(ApiPlatformInstanceSummary model) 
 
- 
 
-