Class ManagementAgentInstallKey.Builder
- java.lang.Object
-
- com.oracle.bmc.managementagent.model.ManagementAgentInstallKey.Builder
-
- Enclosing class:
- ManagementAgentInstallKey
public static class ManagementAgentInstallKey.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagementAgentInstallKey.Builder
allowedKeyInstallCount(Integer allowedKeyInstallCount)
Total number of install for this keysManagementAgentInstallKey
build()
ManagementAgentInstallKey.Builder
compartmentId(String compartmentId)
Compartment IdentifierManagementAgentInstallKey.Builder
copy(ManagementAgentInstallKey model)
ManagementAgentInstallKey.Builder
createdByPrincipalId(String createdByPrincipalId)
Principal id of user who created the Agent Install keyManagementAgentInstallKey.Builder
currentKeyInstallCount(Integer currentKeyInstallCount)
Total number of install for this keysManagementAgentInstallKey.Builder
displayName(String displayName)
Management Agent Install Key NameManagementAgentInstallKey.Builder
id(String id)
Agent install Key identifierManagementAgentInstallKey.Builder
isUnlimited(Boolean isUnlimited)
If set to true, the install key has no expiration date or usage limit.ManagementAgentInstallKey.Builder
key(String key)
Management Agent Install KeyManagementAgentInstallKey.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.ManagementAgentInstallKey.Builder
lifecycleState(LifecycleStates lifecycleState)
Status of KeyManagementAgentInstallKey.Builder
timeCreated(Date timeCreated)
The time when Management Agent install Key was created.ManagementAgentInstallKey.Builder
timeExpires(Date timeExpires)
date after which key would expire after creationManagementAgentInstallKey.Builder
timeUpdated(Date timeUpdated)
The time when Management Agent install Key was updated.
-
-
-
Method Detail
-
id
public ManagementAgentInstallKey.Builder id(String id)
Agent install Key identifier- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public ManagementAgentInstallKey.Builder displayName(String displayName)
Management Agent Install Key Name- Parameters:
displayName
- the value to set- Returns:
- this builder
-
key
public ManagementAgentInstallKey.Builder key(String key)
Management Agent Install Key- Parameters:
key
- the value to set- Returns:
- this builder
-
createdByPrincipalId
public ManagementAgentInstallKey.Builder createdByPrincipalId(String createdByPrincipalId)
Principal id of user who created the Agent Install key- Parameters:
createdByPrincipalId
- the value to set- Returns:
- this builder
-
compartmentId
public ManagementAgentInstallKey.Builder compartmentId(String compartmentId)
Compartment Identifier- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
allowedKeyInstallCount
public ManagementAgentInstallKey.Builder allowedKeyInstallCount(Integer allowedKeyInstallCount)
Total number of install for this keys- Parameters:
allowedKeyInstallCount
- the value to set- Returns:
- this builder
-
currentKeyInstallCount
public ManagementAgentInstallKey.Builder currentKeyInstallCount(Integer currentKeyInstallCount)
Total number of install for this keys- Parameters:
currentKeyInstallCount
- the value to set- Returns:
- this builder
-
lifecycleState
public ManagementAgentInstallKey.Builder lifecycleState(LifecycleStates lifecycleState)
Status of Key- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public ManagementAgentInstallKey.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
-
timeExpires
public ManagementAgentInstallKey.Builder timeExpires(Date timeExpires)
date after which key would expire after creation- Parameters:
timeExpires
- the value to set- Returns:
- this builder
-
timeCreated
public ManagementAgentInstallKey.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
-
timeUpdated
public ManagementAgentInstallKey.Builder timeUpdated(Date timeUpdated)
The time when Management Agent install Key was updated.An RFC3339 formatted date time string
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
isUnlimited
public ManagementAgentInstallKey.Builder isUnlimited(Boolean isUnlimited)
If set to true, the install key has no expiration date or usage limit.Defaults to false
- Parameters:
isUnlimited
- the value to set- Returns:
- this builder
-
build
public ManagementAgentInstallKey build()
-
copy
public ManagementAgentInstallKey.Builder copy(ManagementAgentInstallKey model)
-
-