Class EksPersistentVolumeClaim
- java.lang.Object
-
- software.amazon.awssdk.services.batch.model.EksPersistentVolumeClaim
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EksPersistentVolumeClaim.Builder,EksPersistentVolumeClaim>
@Generated("software.amazon.awssdk:codegen") public final class EksPersistentVolumeClaim extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EksPersistentVolumeClaim.Builder,EksPersistentVolumeClaim>
A
persistentVolumeClaimvolume is used to mount a PersistentVolume into a Pod. PersistentVolumeClaims are a way for users to "claim" durable storage without knowing the details of the particular cloud environment. See the information about PersistentVolumes in the Kubernetes documentation.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEksPersistentVolumeClaim.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EksPersistentVolumeClaim.Builderbuilder()StringclaimName()The name of thepersistentVolumeClaimbounded to apersistentVolume.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanreadOnly()An optional boolean value indicating if the mount is read only.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EksPersistentVolumeClaim.Builder>serializableBuilderClass()EksPersistentVolumeClaim.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
-
claimName
public final String claimName()
The name of the
persistentVolumeClaimbounded to apersistentVolume. For more information, see Persistent Volume Claims in the Kubernetes documentation.- Returns:
- The name of the
persistentVolumeClaimbounded to apersistentVolume. For more information, see Persistent Volume Claims in the Kubernetes documentation.
-
readOnly
public final Boolean readOnly()
An optional boolean value indicating if the mount is read only. Default is false. For more information, see Read Only Mounts in the Kubernetes documentation.
- Returns:
- An optional boolean value indicating if the mount is read only. Default is false. For more information, see Read Only Mounts in the Kubernetes documentation.
-
toBuilder
public EksPersistentVolumeClaim.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EksPersistentVolumeClaim.Builder,EksPersistentVolumeClaim>
-
builder
public static EksPersistentVolumeClaim.Builder builder()
-
serializableBuilderClass
public static Class<? extends EksPersistentVolumeClaim.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
-
-