@Generated(value="software.amazon.awssdk:codegen") public final class Secret extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Secret.Builder,Secret>
An object representing the secret to expose to your container.
Modifier and Type | Class and Description |
---|---|
static interface |
Secret.Builder |
Modifier and Type | Method and Description |
---|---|
static Secret.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The value to set as the environment variable on the container.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Secret.Builder> |
serializableBuilderClass() |
Secret.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
valueFrom()
The secret to expose to the container.
|
copy
public String name()
The value to set as the environment variable on the container.
public 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.
public Secret.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Secret.Builder,Secret>
public static Secret.Builder builder()
public static Class<? extends Secret.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.