Package com.oracle.bmc.fusionapps.model
Class FusionEnvironmentFamily.Builder
- java.lang.Object
-
- com.oracle.bmc.fusionapps.model.FusionEnvironmentFamily.Builder
-
- Enclosing class:
- FusionEnvironmentFamily
public static class FusionEnvironmentFamily.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FusionEnvironmentFamily
build()
FusionEnvironmentFamily.Builder
compartmentId(String compartmentId)
The OCID of the compartment where the environment family is located.FusionEnvironmentFamily.Builder
copy(FusionEnvironmentFamily model)
FusionEnvironmentFamily.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.FusionEnvironmentFamily.Builder
displayName(String displayName)
A friendly name for the environment family.FusionEnvironmentFamily.Builder
familyMaintenancePolicy(FamilyMaintenancePolicy familyMaintenancePolicy)
FusionEnvironmentFamily.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.FusionEnvironmentFamily.Builder
id(String id)
The unique identifier (OCID) of the environment family.FusionEnvironmentFamily.Builder
isSubscriptionUpdateNeeded(Boolean isSubscriptionUpdateNeeded)
When set to True, a subscription update is required for the environment family.FusionEnvironmentFamily.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.FusionEnvironmentFamily.Builder
lifecycleState(FusionEnvironmentFamily.LifecycleState lifecycleState)
The current state of the FusionEnvironmentFamily.FusionEnvironmentFamily.Builder
subscriptionIds(List<String> subscriptionIds)
The list of the IDs of the applications subscriptions that are associated with the environment family.FusionEnvironmentFamily.Builder
systemName(String systemName)
Environment Specific Guid/ System NameFusionEnvironmentFamily.Builder
timeCreated(Date timeCreated)
The time the the FusionEnvironmentFamily was created.FusionEnvironmentFamily.Builder
timeLastSubscriptionUpdate(Date timeLastSubscriptionUpdate)
Indicates when the family received the last subscription update
-
-
-
Method Detail
-
id
public FusionEnvironmentFamily.Builder id(String id)
The unique identifier (OCID) of the environment family.Can’t be changed after creation.
- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public FusionEnvironmentFamily.Builder displayName(String displayName)
A friendly name for the environment family.The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
familyMaintenancePolicy
public FusionEnvironmentFamily.Builder familyMaintenancePolicy(FamilyMaintenancePolicy familyMaintenancePolicy)
-
compartmentId
public FusionEnvironmentFamily.Builder compartmentId(String compartmentId)
The OCID of the compartment where the environment family is located.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
subscriptionIds
public FusionEnvironmentFamily.Builder subscriptionIds(List<String> subscriptionIds)
The list of the IDs of the applications subscriptions that are associated with the environment family.- Parameters:
subscriptionIds
- the value to set- Returns:
- this builder
-
isSubscriptionUpdateNeeded
public FusionEnvironmentFamily.Builder isSubscriptionUpdateNeeded(Boolean isSubscriptionUpdateNeeded)
When set to True, a subscription update is required for the environment family.- Parameters:
isSubscriptionUpdateNeeded
- the value to set- Returns:
- this builder
-
timeCreated
public FusionEnvironmentFamily.Builder timeCreated(Date timeCreated)
The time the the FusionEnvironmentFamily was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public FusionEnvironmentFamily.Builder lifecycleState(FusionEnvironmentFamily.LifecycleState lifecycleState)
The current state of the FusionEnvironmentFamily.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public FusionEnvironmentFamily.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
-
systemName
public FusionEnvironmentFamily.Builder systemName(String systemName)
Environment Specific Guid/ System Name- Parameters:
systemName
- the value to set- Returns:
- this builder
-
freeformTags
public FusionEnvironmentFamily.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 FusionEnvironmentFamily.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
-
timeLastSubscriptionUpdate
public FusionEnvironmentFamily.Builder timeLastSubscriptionUpdate(Date timeLastSubscriptionUpdate)
Indicates when the family received the last subscription update- Parameters:
timeLastSubscriptionUpdate
- the value to set- Returns:
- this builder
-
build
public FusionEnvironmentFamily build()
-
copy
public FusionEnvironmentFamily.Builder copy(FusionEnvironmentFamily model)
-
-