@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSecretResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateSecretResult() |
Modifier and Type | Method and Description |
---|---|
CreateSecretResult |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
The Amazon Resource Name (ARN) of the secret that you just created.
|
String |
getName()
The friendly name of the secret that you just created.
|
List<ReplicationStatusType> |
getReplicationStatus()
Describes a list of replication status objects as
InProgress , Failed or
InSync . |
String |
getVersionId()
The unique identifier associated with the version of the secret you just created.
|
int |
hashCode() |
void |
setARN(String aRN)
The Amazon Resource Name (ARN) of the secret that you just created.
|
void |
setName(String name)
The friendly name of the secret that you just created.
|
void |
setReplicationStatus(Collection<ReplicationStatusType> replicationStatus)
Describes a list of replication status objects as
InProgress , Failed or
InSync . |
void |
setVersionId(String versionId)
The unique identifier associated with the version of the secret you just created.
|
String |
toString()
Returns a string representation of this object.
|
CreateSecretResult |
withARN(String aRN)
The Amazon Resource Name (ARN) of the secret that you just created.
|
CreateSecretResult |
withName(String name)
The friendly name of the secret that you just created.
|
CreateSecretResult |
withReplicationStatus(Collection<ReplicationStatusType> replicationStatus)
Describes a list of replication status objects as
InProgress , Failed or
InSync . |
CreateSecretResult |
withReplicationStatus(ReplicationStatusType... replicationStatus)
Describes a list of replication status objects as
InProgress , Failed or
InSync . |
CreateSecretResult |
withVersionId(String versionId)
The unique identifier associated with the version of the secret you just created.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setARN(String aRN)
The Amazon Resource Name (ARN) of the secret that you just created.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
aRN
- The Amazon Resource Name (ARN) of the secret that you just created. Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
public String getARN()
The Amazon Resource Name (ARN) of the secret that you just created.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
public CreateSecretResult withARN(String aRN)
The Amazon Resource Name (ARN) of the secret that you just created.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
aRN
- The Amazon Resource Name (ARN) of the secret that you just created. Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
public void setName(String name)
The friendly name of the secret that you just created.
name
- The friendly name of the secret that you just created.public String getName()
The friendly name of the secret that you just created.
public CreateSecretResult withName(String name)
The friendly name of the secret that you just created.
name
- The friendly name of the secret that you just created.public void setVersionId(String versionId)
The unique identifier associated with the version of the secret you just created.
versionId
- The unique identifier associated with the version of the secret you just created.public String getVersionId()
The unique identifier associated with the version of the secret you just created.
public CreateSecretResult withVersionId(String versionId)
The unique identifier associated with the version of the secret you just created.
versionId
- The unique identifier associated with the version of the secret you just created.public List<ReplicationStatusType> getReplicationStatus()
Describes a list of replication status objects as InProgress
, Failed
or
InSync
.
InProgress
, Failed
or
InSync
.public void setReplicationStatus(Collection<ReplicationStatusType> replicationStatus)
Describes a list of replication status objects as InProgress
, Failed
or
InSync
.
replicationStatus
- Describes a list of replication status objects as InProgress
, Failed
or
InSync
.public CreateSecretResult withReplicationStatus(ReplicationStatusType... replicationStatus)
Describes a list of replication status objects as InProgress
, Failed
or
InSync
.
NOTE: This method appends the values to the existing list (if any). Use
setReplicationStatus(java.util.Collection)
or withReplicationStatus(java.util.Collection)
if
you want to override the existing values.
replicationStatus
- Describes a list of replication status objects as InProgress
, Failed
or
InSync
.public CreateSecretResult withReplicationStatus(Collection<ReplicationStatusType> replicationStatus)
Describes a list of replication status objects as InProgress
, Failed
or
InSync
.
replicationStatus
- Describes a list of replication status objects as InProgress
, Failed
or
InSync
.public String toString()
toString
in class Object
Object.toString()
public CreateSecretResult clone()