@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public final class CreateLifecycleProfileDetails extends CreateProfileDetails
Provides the information used to create a lifecycle environment registration profile.
Note: Objects should always be created or deserialized using the CreateLifecycleProfileDetails.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 the CreateLifecycleProfileDetails.Builder
, which maintain a
set of all explicitly set fields called CreateLifecycleProfileDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateLifecycleProfileDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateLifecycleProfileDetails(String displayName,
String compartmentId,
String description,
String managementStationId,
Profile.RegistrationType registrationType,
Boolean isDefaultProfile,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
String lifecycleStageId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateLifecycleProfileDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getLifecycleStageId()
The OCID of
the lifecycle stage that the instance will be associated with.
|
int |
hashCode() |
CreateLifecycleProfileDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCompartmentId, getDefinedTags, getDescription, getDisplayName, getFreeformTags, getIsDefaultProfile, getManagementStationId, getRegistrationType
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreateLifecycleProfileDetails(String displayName, String compartmentId, String description, String managementStationId, Profile.RegistrationType registrationType, Boolean isDefaultProfile, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, String lifecycleStageId)
public static CreateLifecycleProfileDetails.Builder builder()
Create a new builder.
public CreateLifecycleProfileDetails.Builder toBuilder()
public String getLifecycleStageId()
The OCID of the lifecycle stage that the instance will be associated with.
public String toString()
toString
in class CreateProfileDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateProfileDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateProfileDetails
public int hashCode()
hashCode
in class CreateProfileDetails
Copyright © 2016–2024. All rights reserved.