primaryRegion
Returns the value of the
primaryRegion record component.- Returns:
- the value of the
primaryRegionrecord component
arn - full ARNname - secret namedescription - descriptionkmsKeyId - KMS keyrotationEnabled - whether rotation is onrotationLambdaArn - rotation LambdarotationRules - rotation schedulelastRotatedDate - last rotationlastChangedDate - last changelastAccessedDate - last access (day precision)deletedDate - set when the secret is scheduled for deletionnextRotationDate - next scheduled rotationcreatedDate - creation timeprimaryRegion - primary region of a replicated secretowningService - service that manages the secret - tags as a mapversionIdsToStages - version id to stage labelsreplicationStatus - replica regionsDescribeSecret, ListSecrets entries). Never contains the value.
Optional components are null when AWS omits them.SecretDescription(String arn,
String name,
String description,
String kmsKeyId,
boolean rotationEnabled,
String rotationLambdaArn,
RotationRules rotationRules,
Instant lastRotatedDate,
Instant lastChangedDate,
Instant lastAccessedDate,
Instant deletedDate,
Instant nextRotationDate,
Instant createdDate,
String primaryRegion,
String owningService,
Map<String,String> tags,
Map<String,List<String>> versionIdsToStages,
List<ReplicationStatus> replicationStatus) arn()arn record component.createdDate record component.AWSCURRENT version.deletedDate record component.description record component.final booleanfinal inthashCode()kmsKeyId()kmsKeyId record component.lastAccessedDate record component.lastChangedDate record component.lastRotatedDate record component.name()name record component.nextRotationDate record component.owningService record component.booleanprimaryRegion record component.replicationStatus record component.booleanrotationEnabled record component.rotationLambdaArn record component.rotationRules record component.tags()tags record component.final StringtoString()versionIdsToStages record component.versionWithStage(String stage) stage - stage label such as AWSCURRENTAWSCURRENT version.deletedDate() is setObjects::equals(Object,Object); primitive components are compared with '=='.arn record component.arn record componentname record component.name record componentdescription record component.description record componentkmsKeyId record component.kmsKeyId record componentrotationEnabled record component.rotationEnabled record componentrotationLambdaArn record component.rotationLambdaArn record componentrotationRules record component.rotationRules record componentlastRotatedDate record component.lastRotatedDate record componentlastChangedDate record component.lastChangedDate record componentlastAccessedDate record component.lastAccessedDate record componentdeletedDate record component.deletedDate record componentnextRotationDate record component.nextRotationDate record componentcreatedDate record component.createdDate record componentprimaryRegion record component.primaryRegion record componentowningService record component.owningService record componenttags record component.tags record componentversionIdsToStages record component.versionIdsToStages record componentreplicationStatus record component.replicationStatus record component