@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails extends Object implements Serializable, Cloneable, StructuredPojo
A secret to pass to the log configuration.
Constructor and Description |
---|
AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the secret.
|
String |
getValueFrom()
The secret to expose to the container.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the secret.
|
void |
setValueFrom(String valueFrom)
The secret to expose to the container.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails |
withName(String name)
The name of the secret.
|
AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails |
withValueFrom(String valueFrom)
The secret to expose to the container.
|
public AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails()
public void setName(String name)
The name of the secret.
name
- The name of the secret.public String getName()
The name of the secret.
public AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails withName(String name)
The name of the secret.
name
- The name of the secret.public void setValueFrom(String valueFrom)
The secret to expose to the container.
The value is either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the Systems Manager Parameter Store.
valueFrom
- The secret to expose to the container.
The value is either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the Systems Manager Parameter Store.
public String getValueFrom()
The secret to expose to the container.
The value is either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the Systems Manager Parameter Store.
The value is either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the Systems Manager Parameter Store.
public AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails withValueFrom(String valueFrom)
The secret to expose to the container.
The value is either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the Systems Manager Parameter Store.
valueFrom
- The secret to expose to the container.
The value is either the full ARN of the Secrets Manager secret or the full ARN of the parameter in the Systems Manager Parameter Store.
public String toString()
toString
in class Object
Object.toString()
public AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.