Class SecretSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.vault.model.SecretSummary.Builder
 
- 
- Enclosing class:
- SecretSummary
 
 public static class SecretSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretSummarybuild()SecretSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment that contains the secret.SecretSummary.Buildercopy(SecretSummary model)SecretSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SecretSummary.Builderdescription(String description)A brief description of the secret.SecretSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.SecretSummary.Builderid(String id)The OCID of the secret.SecretSummary.BuilderisAutoGenerationEnabled(Boolean isAutoGenerationEnabled)The value of this flag determines whether or not secret content will be generated automatically.SecretSummary.BuilderisReplica(Boolean isReplica)A Boolean value that indicates whether the secret is a source or replica secret.SecretSummary.BuilderkeyId(String keyId)The OCID of the master encryption key that is used to encrypt the secret.SecretSummary.BuilderlastRotationTime(Date lastRotationTime)A property indicating when the secret was last rotated successfully, expressed in RFC 3339 timestamp format.SecretSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the secret’s current lifecycle state.SecretSummary.BuilderlifecycleState(SecretSummary.LifecycleState lifecycleState)The current lifecycle state of the secret.SecretSummary.BuildernextRotationTime(Date nextRotationTime)A property indicating when the secret is scheduled to be rotated, expressed in RFC 3339 timestamp format.SecretSummary.BuilderreplicationConfig(ReplicationConfig replicationConfig)SecretSummary.BuilderrotationConfig(RotationConfig rotationConfig)SecretSummary.BuilderrotationStatus(Secret.RotationStatus rotationStatus)Additional information about the status of the secret rotationSecretSummary.BuildersecretGenerationContext(SecretGenerationContext secretGenerationContext)SecretSummary.BuildersecretName(String secretName)The name of the secret.SecretSummary.BuildersourceRegionInformation(SourceRegionInformation sourceRegionInformation)SecretSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SecretSummary.BuildertimeCreated(Date timeCreated)A property indicating when the secret was created, expressed in RFC 3339 timestamp format.SecretSummary.BuildertimeOfCurrentVersionExpiry(Date timeOfCurrentVersionExpiry)An optional property indicating when the current secret version will expire, expressed in RFC 3339 timestamp format.SecretSummary.BuildertimeOfDeletion(Date timeOfDeletion)An optional property indicating when to delete the secret, expressed in RFC 3339 timestamp format.SecretSummary.BuildervaultId(String vaultId)The OCID of the Vault in which the secret exists
 
- 
- 
- 
Method Detail- 
compartmentIdpublic SecretSummary.Builder compartmentId(String compartmentId) The OCID of the compartment that contains the secret.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic SecretSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic SecretSummary.Builder description(String description) A brief description of the secret.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic SecretSummary.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic SecretSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
keyIdpublic SecretSummary.Builder keyId(String keyId) The OCID of the master encryption key that is used to encrypt the secret.You must specify a symmetric key to encrypt the secret during import to the vault. You cannot encrypt secrets with asymmetric keys. Furthermore, the key must exist in the vault that you specify. - Parameters:
- keyId- the value to set
- Returns:
- this builder
 
 - 
idpublic SecretSummary.Builder id(String id) The OCID of the secret.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic SecretSummary.Builder lifecycleDetails(String lifecycleDetails) Additional information about the secret’s current lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic SecretSummary.Builder lifecycleState(SecretSummary.LifecycleState lifecycleState) The current lifecycle state of the secret.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
replicationConfigpublic SecretSummary.Builder replicationConfig(ReplicationConfig replicationConfig) 
 - 
isReplicapublic SecretSummary.Builder isReplica(Boolean isReplica) A Boolean value that indicates whether the secret is a source or replica secret.- Parameters:
- isReplica- the value to set
- Returns:
- this builder
 
 - 
sourceRegionInformationpublic SecretSummary.Builder sourceRegionInformation(SourceRegionInformation sourceRegionInformation) 
 - 
rotationConfigpublic SecretSummary.Builder rotationConfig(RotationConfig rotationConfig) 
 - 
rotationStatuspublic SecretSummary.Builder rotationStatus(Secret.RotationStatus rotationStatus) Additional information about the status of the secret rotation- Parameters:
- rotationStatus- the value to set
- Returns:
- this builder
 
 - 
lastRotationTimepublic SecretSummary.Builder lastRotationTime(Date lastRotationTime) A property indicating when the secret was last rotated successfully, expressed in RFC 3339 timestamp format.Example: 2019-04-03T21:10:29.600Z - Parameters:
- lastRotationTime- the value to set
- Returns:
- this builder
 
 - 
nextRotationTimepublic SecretSummary.Builder nextRotationTime(Date nextRotationTime) A property indicating when the secret is scheduled to be rotated, expressed in RFC 3339 timestamp format.Example: 2019-04-03T21:10:29.600Z - Parameters:
- nextRotationTime- the value to set
- Returns:
- this builder
 
 - 
secretNamepublic SecretSummary.Builder secretName(String secretName) The name of the secret.- Parameters:
- secretName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic SecretSummary.Builder timeCreated(Date timeCreated) A property indicating when the secret was created, expressed in RFC 3339 timestamp format.Example: 2019-04-03T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeOfCurrentVersionExpirypublic SecretSummary.Builder timeOfCurrentVersionExpiry(Date timeOfCurrentVersionExpiry) An optional property indicating when the current secret version will expire, expressed in RFC 3339 timestamp format.Example: 2019-04-03T21:10:29.600Z - Parameters:
- timeOfCurrentVersionExpiry- the value to set
- Returns:
- this builder
 
 - 
timeOfDeletionpublic SecretSummary.Builder timeOfDeletion(Date timeOfDeletion) An optional property indicating when to delete the secret, expressed in RFC 3339 timestamp format.Example: 2019-04-03T21:10:29.600Z - Parameters:
- timeOfDeletion- the value to set
- Returns:
- this builder
 
 - 
vaultIdpublic SecretSummary.Builder vaultId(String vaultId) The OCID of the Vault in which the secret exists- Parameters:
- vaultId- the value to set
- Returns:
- this builder
 
 - 
secretGenerationContextpublic SecretSummary.Builder secretGenerationContext(SecretGenerationContext secretGenerationContext) 
 - 
isAutoGenerationEnabledpublic SecretSummary.Builder isAutoGenerationEnabled(Boolean isAutoGenerationEnabled) The value of this flag determines whether or not secret content will be generated automatically.- Parameters:
- isAutoGenerationEnabled- the value to set
- Returns:
- this builder
 
 - 
buildpublic SecretSummary build() 
 - 
copypublic SecretSummary.Builder copy(SecretSummary model) 
 
- 
 
-