@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EksSecret extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the configuration of a Kubernetes secret
volume. For more information, see secret in the Kubernetes documentation.
Constructor and Description |
---|
EksSecret() |
Modifier and Type | Method and Description |
---|---|
EksSecret |
clone() |
boolean |
equals(Object obj) |
Boolean |
getOptional()
Specifies whether the secret or the secret's keys must be defined.
|
String |
getSecretName()
The name of the secret.
|
int |
hashCode() |
Boolean |
isOptional()
Specifies whether the secret or the secret's keys must be defined.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOptional(Boolean optional)
Specifies whether the secret or the secret's keys must be defined.
|
void |
setSecretName(String secretName)
The name of the secret.
|
String |
toString()
Returns a string representation of this object.
|
EksSecret |
withOptional(Boolean optional)
Specifies whether the secret or the secret's keys must be defined.
|
EksSecret |
withSecretName(String secretName)
The name of the secret.
|
public void setSecretName(String secretName)
The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
secretName
- The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see DNS
subdomain names in the Kubernetes documentation.public String getSecretName()
The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
public EksSecret withSecretName(String secretName)
The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see DNS subdomain names in the Kubernetes documentation.
secretName
- The name of the secret. The name must be allowed as a DNS subdomain name. For more information, see DNS
subdomain names in the Kubernetes documentation.public void setOptional(Boolean optional)
Specifies whether the secret or the secret's keys must be defined.
optional
- Specifies whether the secret or the secret's keys must be defined.public Boolean getOptional()
Specifies whether the secret or the secret's keys must be defined.
public EksSecret withOptional(Boolean optional)
Specifies whether the secret or the secret's keys must be defined.
optional
- Specifies whether the secret or the secret's keys must be defined.public Boolean isOptional()
Specifies whether the secret or the secret's keys must be defined.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.