@Generated(value="OracleSDKGenerator", comments="API Version: 20200202") public final class ManagementAgentInstallKey extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The details of the Agent install Key
Note: Objects should always be created or deserialized using the ManagementAgentInstallKey.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 ManagementAgentInstallKey.Builder
, which maintain a
set of all explicitly set fields called ManagementAgentInstallKey.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 |
ManagementAgentInstallKey.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ManagementAgentInstallKey(String id,
String displayName,
String key,
String createdByPrincipalId,
String compartmentId,
Integer allowedKeyInstallCount,
Integer currentKeyInstallCount,
LifecycleStates lifecycleState,
String lifecycleDetails,
Date timeExpires,
Date timeCreated,
Date timeUpdated,
Boolean isUnlimited)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ManagementAgentInstallKey.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getAllowedKeyInstallCount()
Total number of install for this keys
|
String |
getCompartmentId()
Compartment Identifier
|
String |
getCreatedByPrincipalId()
Principal id of user who created the Agent Install key
|
Integer |
getCurrentKeyInstallCount()
Total number of install for this keys
|
String |
getDisplayName()
Management Agent Install Key Name
|
String |
getId()
Agent install Key identifier
|
Boolean |
getIsUnlimited()
If set to true, the install key has no expiration date or usage limit.
|
String |
getKey()
Management Agent Install Key
|
String |
getLifecycleDetails()
A message describing the current state in more detail.
|
LifecycleStates |
getLifecycleState()
Status of Key
|
Date |
getTimeCreated()
The time when Management Agent install Key was created.
|
Date |
getTimeExpires()
date after which key would expire after creation
|
Date |
getTimeUpdated()
The time when Management Agent install Key was updated.
|
int |
hashCode() |
ManagementAgentInstallKey.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","key","createdByPrincipalId","compartmentId","allowedKeyInstallCount","currentKeyInstallCount","lifecycleState","lifecycleDetails","timeExpires","timeCreated","timeUpdated","isUnlimited"}) public ManagementAgentInstallKey(String id, String displayName, String key, String createdByPrincipalId, String compartmentId, Integer allowedKeyInstallCount, Integer currentKeyInstallCount, LifecycleStates lifecycleState, String lifecycleDetails, Date timeExpires, Date timeCreated, Date timeUpdated, Boolean isUnlimited)
public static ManagementAgentInstallKey.Builder builder()
Create a new builder.
public ManagementAgentInstallKey.Builder toBuilder()
public String getId()
Agent install Key identifier
public String getDisplayName()
Management Agent Install Key Name
public String getKey()
Management Agent Install Key
public String getCreatedByPrincipalId()
Principal id of user who created the Agent Install key
public String getCompartmentId()
Compartment Identifier
public Integer getAllowedKeyInstallCount()
Total number of install for this keys
public Integer getCurrentKeyInstallCount()
Total number of install for this keys
public LifecycleStates getLifecycleState()
Status of Key
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.
public Date getTimeExpires()
date after which key would expire after creation
public Date getTimeCreated()
The time when Management Agent install Key was created. An RFC3339 formatted date time string
public Date getTimeUpdated()
The time when Management Agent install Key was updated. An RFC3339 formatted date time string
public Boolean getIsUnlimited()
If set to true, the install key has no expiration date or usage limit. Defaults to false
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.