@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Secret extends Object implements Serializable, Cloneable, StructuredPojo
An object representing the secret to expose to your container.
| Constructor and Description |
|---|
Secret() |
| Modifier and Type | Method and Description |
|---|---|
Secret |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The value to set as the environment variable on the container.
|
String |
getValueFrom()
The secret to expose to the container.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setName(String name)
The value to set as the environment variable on the container.
|
void |
setValueFrom(String valueFrom)
The secret to expose to the container.
|
String |
toString()
Returns a string representation of this object.
|
Secret |
withName(String name)
The value to set as the environment variable on the container.
|
Secret |
withValueFrom(String valueFrom)
The secret to expose to the container.
|
public void setName(String name)
The value to set as the environment variable on the container.
name - The value to set as the environment variable on the container.public String getName()
The value to set as the environment variable on the container.
public Secret withName(String name)
The value to set as the environment variable on the container.
name - The value to set as the environment variable on the container.public void setValueFrom(String valueFrom)
The secret to expose to the container. Supported values are either the full ARN or the name of the parameter in the AWS Systems Manager Parameter Store.
valueFrom - The secret to expose to the container. Supported values are either the full ARN or the name of the
parameter in the AWS Systems Manager Parameter Store.public String getValueFrom()
The secret to expose to the container. Supported values are either the full ARN or the name of the parameter in the AWS Systems Manager Parameter Store.
public Secret withValueFrom(String valueFrom)
The secret to expose to the container. Supported values are either the full ARN or the name of the parameter in the AWS Systems Manager Parameter Store.
valueFrom - The secret to expose to the container. Supported values are either the full ARN or the name of the
parameter in the AWS Systems Manager Parameter Store.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.