Class PlatformConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.fleetappsmanagement.model.PlatformConfiguration.Builder
-
- Enclosing class:
- PlatformConfiguration
public static class PlatformConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public PlatformConfiguration.Builder id(String id)
The OCID of the resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public PlatformConfiguration.Builder compartmentId(String compartmentId)
Tenancy OCID- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public PlatformConfiguration.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Example: My new resource
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public PlatformConfiguration.Builder description(String description)
A user-friendly description.To provide some insight about the resource. Avoid entering confidential information.
- Parameters:
description
- the value to set- Returns:
- this builder
-
timeCreated
public PlatformConfiguration.Builder timeCreated(Date timeCreated)
The time this resource was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public PlatformConfiguration.Builder timeUpdated(Date timeUpdated)
The time this resource was last updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
resourceRegion
public PlatformConfiguration.Builder resourceRegion(String resourceRegion)
Associated region- Parameters:
resourceRegion
- the value to set- Returns:
- this builder
-
type
public PlatformConfiguration.Builder type(PlatformConfiguration.Type type)
The type of the configuration.- Parameters:
type
- the value to set- Returns:
- this builder
-
configCategoryDetails
public PlatformConfiguration.Builder configCategoryDetails(ConfigCategoryDetails configCategoryDetails)
-
lifecycleState
public PlatformConfiguration.Builder lifecycleState(PlatformConfiguration.LifecycleState lifecycleState)
The current state of the PlatformConfiguration.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public PlatformConfiguration.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
-
freeformTags
public PlatformConfiguration.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 PlatformConfiguration.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 PlatformConfiguration.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 PlatformConfiguration build()
-
copy
public PlatformConfiguration.Builder copy(PlatformConfiguration model)
-
-