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.BuilderallowedKeyInstallCount(Integer allowedKeyInstallCount)Total number of install for this keysManagementAgentInstallKeybuild()ManagementAgentInstallKey.BuildercompartmentId(String compartmentId)Compartment IdentifierManagementAgentInstallKey.Buildercopy(ManagementAgentInstallKey model)ManagementAgentInstallKey.BuildercreatedByPrincipalId(String createdByPrincipalId)Principal id of user who created the Agent Install keyManagementAgentInstallKey.BuildercurrentKeyInstallCount(Integer currentKeyInstallCount)Total number of install for this keysManagementAgentInstallKey.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ManagementAgentInstallKey.BuilderdisplayName(String displayName)Management Agent Install Key NameManagementAgentInstallKey.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ManagementAgentInstallKey.Builderid(String id)Agent install Key identifierManagementAgentInstallKey.BuilderisUnlimited(Boolean isUnlimited)If set to true, the install key has no expiration date or usage limit.ManagementAgentInstallKey.Builderkey(String key)Management Agent Install KeyManagementAgentInstallKey.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.ManagementAgentInstallKey.BuilderlifecycleState(LifecycleStates lifecycleState)Status of KeyManagementAgentInstallKey.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ManagementAgentInstallKey.BuildertimeCreated(Date timeCreated)The time when Management Agent install Key was created.ManagementAgentInstallKey.BuildertimeExpires(Date timeExpires)date after which key would expire after creationManagementAgentInstallKey.BuildertimeUpdated(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
-
freeformTags
public ManagementAgentInstallKey.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ManagementAgentInstallKey.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public ManagementAgentInstallKey.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public ManagementAgentInstallKey build()
-
copy
public ManagementAgentInstallKey.Builder copy(ManagementAgentInstallKey model)
-
-