@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecretsManagerSecretResourceData extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
SecretsManagerSecretResourceData() |
Modifier and Type | Method and Description |
---|---|
SecretsManagerSecretResourceData |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAdditionalStagingLabelsToDownload()
Optional.
|
String |
getARN()
The ARN of the Secrets Manager secret to make available on the core.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalStagingLabelsToDownload(Collection<String> additionalStagingLabelsToDownload)
Optional.
|
void |
setARN(String aRN)
The ARN of the Secrets Manager secret to make available on the core.
|
String |
toString()
Returns a string representation of this object.
|
SecretsManagerSecretResourceData |
withAdditionalStagingLabelsToDownload(Collection<String> additionalStagingLabelsToDownload)
Optional.
|
SecretsManagerSecretResourceData |
withAdditionalStagingLabelsToDownload(String... additionalStagingLabelsToDownload)
Optional.
|
SecretsManagerSecretResourceData |
withARN(String aRN)
The ARN of the Secrets Manager secret to make available on the core.
|
public void setARN(String aRN)
aRN
- The ARN of the Secrets Manager secret to make available on the core. The value of the secret's latest
version (represented by the ''AWSCURRENT'' staging label) is included by default.public String getARN()
public SecretsManagerSecretResourceData withARN(String aRN)
aRN
- The ARN of the Secrets Manager secret to make available on the core. The value of the secret's latest
version (represented by the ''AWSCURRENT'' staging label) is included by default.public List<String> getAdditionalStagingLabelsToDownload()
public void setAdditionalStagingLabelsToDownload(Collection<String> additionalStagingLabelsToDownload)
additionalStagingLabelsToDownload
- Optional. The staging labels whose values you want to make available on the core, in addition to
''AWSCURRENT''.public SecretsManagerSecretResourceData withAdditionalStagingLabelsToDownload(String... additionalStagingLabelsToDownload)
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalStagingLabelsToDownload(java.util.Collection)
or
withAdditionalStagingLabelsToDownload(java.util.Collection)
if you want to override the existing values.
additionalStagingLabelsToDownload
- Optional. The staging labels whose values you want to make available on the core, in addition to
''AWSCURRENT''.public SecretsManagerSecretResourceData withAdditionalStagingLabelsToDownload(Collection<String> additionalStagingLabelsToDownload)
additionalStagingLabelsToDownload
- Optional. The staging labels whose values you want to make available on the core, in addition to
''AWSCURRENT''.public String toString()
toString
in class Object
Object.toString()
public SecretsManagerSecretResourceData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.