@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() |
String |
toString() |
String |
valueFrom()
The secret to expose to the container.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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()
toBuilder in interface ToCopyableBuilder<Secret.Builder,Secret>public static Secret.Builder builder()
public static Class<? extends Secret.Builder> serializableBuilderClass()
Copyright © 2019. All rights reserved.