@Generated(value="OracleSDKGenerator", comments="API Version: 20200202") public final class ManagementAgentInstallKeySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The summary of the Agent Install Key details.
Note: Objects should always be created or deserialized using the ManagementAgentInstallKeySummary.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 ManagementAgentInstallKeySummary.Builder
, which maintain a
set of all explicitly set fields called ManagementAgentInstallKeySummary.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 |
ManagementAgentInstallKeySummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ManagementAgentInstallKeySummary(String id,
String displayName,
String createdByPrincipalId,
Integer allowedKeyInstallCount,
Integer currentKeyInstallCount,
LifecycleStates lifecycleState,
String lifecycleDetails,
Date timeCreated,
Date timeExpires,
String compartmentId,
Boolean isUnlimited)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ManagementAgentInstallKeySummary.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 |
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
|
int |
hashCode() |
ManagementAgentInstallKeySummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","createdByPrincipalId","allowedKeyInstallCount","currentKeyInstallCount","lifecycleState","lifecycleDetails","timeCreated","timeExpires","compartmentId","isUnlimited"}) public ManagementAgentInstallKeySummary(String id, String displayName, String createdByPrincipalId, Integer allowedKeyInstallCount, Integer currentKeyInstallCount, LifecycleStates lifecycleState, String lifecycleDetails, Date timeCreated, Date timeExpires, String compartmentId, Boolean isUnlimited)
public static ManagementAgentInstallKeySummary.Builder builder()
Create a new builder.
public ManagementAgentInstallKeySummary.Builder toBuilder()
public String getId()
Agent Install Key identifier
public String getDisplayName()
Management Agent Install Key Name
public String getCreatedByPrincipalId()
Principal id of user who created the Agent Install key
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 getTimeCreated()
The time when Management Agent install Key was created. An RFC3339 formatted date time string
public Date getTimeExpires()
date after which key would expire after creation
public String getCompartmentId()
Compartment Identifier
public Boolean getIsUnlimited()
If set to true, the install key has no expiration date or usage limit. Properties allowedKeyInstallCount and timeExpires are ignored if set to true. 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.