Class EksSecret
- java.lang.Object
-
- software.amazon.awssdk.services.batch.model.EksSecret
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EksSecret.Builder,EksSecret>
@Generated("software.amazon.awssdk:codegen") public final class EksSecret extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EksSecret.Builder,EksSecret>
Specifies the configuration of a Kubernetes
secretvolume. For more information, see secret in the Kubernetes documentation.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEksSecret.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EksSecret.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Booleanoptional()Specifies whether the secret or the secret's keys must be defined.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()StringsecretName()The name of the secret.static Class<? extends EksSecret.Builder>serializableBuilderClass()EksSecret.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
secretName
public final 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.
- Returns:
- 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.
-
optional
public final Boolean optional()
Specifies whether the secret or the secret's keys must be defined.
- Returns:
- Specifies whether the secret or the secret's keys must be defined.
-
toBuilder
public EksSecret.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EksSecret.Builder,EksSecret>
-
builder
public static EksSecret.Builder builder()
-
serializableBuilderClass
public static Class<? extends EksSecret.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-