Class ManagementAgentInstallKeySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.managementagent.model.ManagementAgentInstallKeySummary.Builder
-
- Enclosing class:
- ManagementAgentInstallKeySummary
public static class ManagementAgentInstallKeySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
id
public ManagementAgentInstallKeySummary.Builder id(String id)
Agent Install Key identifier- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public ManagementAgentInstallKeySummary.Builder displayName(String displayName)
Management Agent Install Key Name- Parameters:
displayName
- the value to set- Returns:
- this builder
-
createdByPrincipalId
public ManagementAgentInstallKeySummary.Builder createdByPrincipalId(String createdByPrincipalId)
Principal id of user who created the Agent Install key- Parameters:
createdByPrincipalId
- the value to set- Returns:
- this builder
-
allowedKeyInstallCount
public ManagementAgentInstallKeySummary.Builder allowedKeyInstallCount(Integer allowedKeyInstallCount)
Total number of install for this keys- Parameters:
allowedKeyInstallCount
- the value to set- Returns:
- this builder
-
currentKeyInstallCount
public ManagementAgentInstallKeySummary.Builder currentKeyInstallCount(Integer currentKeyInstallCount)
Total number of install for this keys- Parameters:
currentKeyInstallCount
- the value to set- Returns:
- this builder
-
lifecycleState
public ManagementAgentInstallKeySummary.Builder lifecycleState(LifecycleStates lifecycleState)
Status of Key- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public ManagementAgentInstallKeySummary.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
-
timeCreated
public ManagementAgentInstallKeySummary.Builder timeCreated(Date timeCreated)
The time when Management Agent install Key was created.An RFC3339 formatted date time string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeExpires
public ManagementAgentInstallKeySummary.Builder timeExpires(Date timeExpires)
date after which key would expire after creation- Parameters:
timeExpires
- the value to set- Returns:
- this builder
-
compartmentId
public ManagementAgentInstallKeySummary.Builder compartmentId(String compartmentId)
Compartment Identifier- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
isUnlimited
public ManagementAgentInstallKeySummary.Builder isUnlimited(Boolean isUnlimited)
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.
- Parameters:
isUnlimited
- the value to set- Returns:
- this builder
-
build
public ManagementAgentInstallKeySummary build()
-
copy
public ManagementAgentInstallKeySummary.Builder copy(ManagementAgentInstallKeySummary model)
-
-