Class FusionEnvironmentFamily
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.fusionapps.model.FusionEnvironmentFamily
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20211201") public final class FusionEnvironmentFamily extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of a Fusion environment family.An environment family is a logical grouping of environments. The environment family defines a set of characteristics that are shared across the environments to allow consistent management and maintenance across your production, test, and development environments. For more information, see Planning an Environment Family.
Note: Objects should always be created or deserialized using theFusionEnvironmentFamily.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theFusionEnvironmentFamily.Builder
, which maintain a set of all explicitly set fields calledFusionEnvironmentFamily.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FusionEnvironmentFamily.Builder
static class
FusionEnvironmentFamily.LifecycleState
The current state of the FusionEnvironmentFamily.
-
Constructor Summary
Constructors Constructor Description FusionEnvironmentFamily(String id, String displayName, FamilyMaintenancePolicy familyMaintenancePolicy, String compartmentId, List<String> subscriptionIds, Boolean isSubscriptionUpdateNeeded, Date timeCreated, FusionEnvironmentFamily.LifecycleState lifecycleState, String lifecycleDetails, String systemName, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Date timeLastSubscriptionUpdate)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FusionEnvironmentFamily.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCompartmentId()
The OCID of the compartment where the environment family is located.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDisplayName()
A friendly name for the environment family.FamilyMaintenancePolicy
getFamilyMaintenancePolicy()
Map<String,String>
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.String
getId()
The unique identifier (OCID) of the environment family.Boolean
getIsSubscriptionUpdateNeeded()
When set to True, a subscription update is required for the environment family.String
getLifecycleDetails()
A message describing the current state in more detail.FusionEnvironmentFamily.LifecycleState
getLifecycleState()
The current state of the FusionEnvironmentFamily.List<String>
getSubscriptionIds()
The list of the IDs of the applications subscriptions that are associated with the environment family.String
getSystemName()
Environment Specific Guid/ System NameDate
getTimeCreated()
The time the the FusionEnvironmentFamily was created.Date
getTimeLastSubscriptionUpdate()
Indicates when the family received the last subscription updateint
hashCode()
FusionEnvironmentFamily.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
FusionEnvironmentFamily
@Deprecated @ConstructorProperties({"id","displayName","familyMaintenancePolicy","compartmentId","subscriptionIds","isSubscriptionUpdateNeeded","timeCreated","lifecycleState","lifecycleDetails","systemName","freeformTags","definedTags","timeLastSubscriptionUpdate"}) public FusionEnvironmentFamily(String id, String displayName, FamilyMaintenancePolicy familyMaintenancePolicy, String compartmentId, List<String> subscriptionIds, Boolean isSubscriptionUpdateNeeded, Date timeCreated, FusionEnvironmentFamily.LifecycleState lifecycleState, String lifecycleDetails, String systemName, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Date timeLastSubscriptionUpdate)
Deprecated.
-
-
Method Detail
-
builder
public static FusionEnvironmentFamily.Builder builder()
Create a new builder.
-
toBuilder
public FusionEnvironmentFamily.Builder toBuilder()
-
getId
public String getId()
The unique identifier (OCID) of the environment family.Can’t be changed after creation.
- Returns:
- the value
-
getDisplayName
public String getDisplayName()
A friendly name for the environment family.The name must contain only letters, numbers, dashes, and underscores. Can be changed later.
- Returns:
- the value
-
getFamilyMaintenancePolicy
public FamilyMaintenancePolicy getFamilyMaintenancePolicy()
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment where the environment family is located.- Returns:
- the value
-
getSubscriptionIds
public List<String> getSubscriptionIds()
The list of the IDs of the applications subscriptions that are associated with the environment family.- Returns:
- the value
-
getIsSubscriptionUpdateNeeded
public Boolean getIsSubscriptionUpdateNeeded()
When set to True, a subscription update is required for the environment family.- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The time the the FusionEnvironmentFamily was created.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getLifecycleState
public FusionEnvironmentFamily.LifecycleState getLifecycleState()
The current state of the FusionEnvironmentFamily.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Returns:
- the value
-
getSystemName
public String getSystemName()
Environment Specific Guid/ System Name- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns:
- the value
-
getTimeLastSubscriptionUpdate
public Date getTimeLastSubscriptionUpdate()
Indicates when the family received the last subscription update- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-