public static final class V1.AWSElasticBlockStoreVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder> implements V1.AWSElasticBlockStoreVolumeSourceOrBuilder
Represents a Persistent Disk resource in AWS. An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.Protobuf type
k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource| Modifier and Type | Method and Description |
|---|---|
V1.AWSElasticBlockStoreVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.AWSElasticBlockStoreVolumeSource |
build() |
V1.AWSElasticBlockStoreVolumeSource |
buildPartial() |
V1.AWSElasticBlockStoreVolumeSource.Builder |
clear() |
V1.AWSElasticBlockStoreVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.AWSElasticBlockStoreVolumeSource.Builder |
clearFsType()
Filesystem type of the volume that you want to mount.
|
V1.AWSElasticBlockStoreVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.AWSElasticBlockStoreVolumeSource.Builder |
clearPartition()
The partition in the volume that you want to mount.
|
V1.AWSElasticBlockStoreVolumeSource.Builder |
clearReadOnly()
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".
|
V1.AWSElasticBlockStoreVolumeSource.Builder |
clearVolumeID()
Unique ID of the persistent disk resource in AWS (Amazon EBS volume).
|
V1.AWSElasticBlockStoreVolumeSource.Builder |
clone() |
V1.AWSElasticBlockStoreVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFsType()
Filesystem type of the volume that you want to mount.
|
com.google.protobuf.ByteString |
getFsTypeBytes()
Filesystem type of the volume that you want to mount.
|
int |
getPartition()
The partition in the volume that you want to mount.
|
boolean |
getReadOnly()
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".
|
String |
getVolumeID()
Unique ID of the persistent disk resource in AWS (Amazon EBS volume).
|
com.google.protobuf.ByteString |
getVolumeIDBytes()
Unique ID of the persistent disk resource in AWS (Amazon EBS volume).
|
boolean |
hasFsType()
Filesystem type of the volume that you want to mount.
|
boolean |
hasPartition()
The partition in the volume that you want to mount.
|
boolean |
hasReadOnly()
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".
|
boolean |
hasVolumeID()
Unique ID of the persistent disk resource in AWS (Amazon EBS volume).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1.AWSElasticBlockStoreVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.AWSElasticBlockStoreVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.AWSElasticBlockStoreVolumeSource.Builder |
mergeFrom(V1.AWSElasticBlockStoreVolumeSource other) |
V1.AWSElasticBlockStoreVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.AWSElasticBlockStoreVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.AWSElasticBlockStoreVolumeSource.Builder |
setFsType(String value)
Filesystem type of the volume that you want to mount.
|
V1.AWSElasticBlockStoreVolumeSource.Builder |
setFsTypeBytes(com.google.protobuf.ByteString value)
Filesystem type of the volume that you want to mount.
|
V1.AWSElasticBlockStoreVolumeSource.Builder |
setPartition(int value)
The partition in the volume that you want to mount.
|
V1.AWSElasticBlockStoreVolumeSource.Builder |
setReadOnly(boolean value)
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".
|
V1.AWSElasticBlockStoreVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.AWSElasticBlockStoreVolumeSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.AWSElasticBlockStoreVolumeSource.Builder |
setVolumeID(String value)
Unique ID of the persistent disk resource in AWS (Amazon EBS volume).
|
V1.AWSElasticBlockStoreVolumeSource.Builder |
setVolumeIDBytes(com.google.protobuf.ByteString value)
Unique ID of the persistent disk resource in AWS (Amazon EBS volume).
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>public V1.AWSElasticBlockStoreVolumeSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>public V1.AWSElasticBlockStoreVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.AWSElasticBlockStoreVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.AWSElasticBlockStoreVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.AWSElasticBlockStoreVolumeSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>public V1.AWSElasticBlockStoreVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>public V1.AWSElasticBlockStoreVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>public V1.AWSElasticBlockStoreVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>public V1.AWSElasticBlockStoreVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>public V1.AWSElasticBlockStoreVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>public V1.AWSElasticBlockStoreVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>public V1.AWSElasticBlockStoreVolumeSource.Builder mergeFrom(V1.AWSElasticBlockStoreVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>public V1.AWSElasticBlockStoreVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>IOExceptionpublic boolean hasVolumeID()
Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
optional string volumeID = 1;hasVolumeID in interface V1.AWSElasticBlockStoreVolumeSourceOrBuilderpublic String getVolumeID()
Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
optional string volumeID = 1;getVolumeID in interface V1.AWSElasticBlockStoreVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getVolumeIDBytes()
Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
optional string volumeID = 1;getVolumeIDBytes in interface V1.AWSElasticBlockStoreVolumeSourceOrBuilderpublic V1.AWSElasticBlockStoreVolumeSource.Builder setVolumeID(String value)
Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
optional string volumeID = 1;public V1.AWSElasticBlockStoreVolumeSource.Builder clearVolumeID()
Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
optional string volumeID = 1;public V1.AWSElasticBlockStoreVolumeSource.Builder setVolumeIDBytes(com.google.protobuf.ByteString value)
Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
optional string volumeID = 1;public boolean hasFsType()
Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 2;hasFsType in interface V1.AWSElasticBlockStoreVolumeSourceOrBuilderpublic String getFsType()
Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 2;getFsType in interface V1.AWSElasticBlockStoreVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getFsTypeBytes()
Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 2;getFsTypeBytes in interface V1.AWSElasticBlockStoreVolumeSourceOrBuilderpublic V1.AWSElasticBlockStoreVolumeSource.Builder setFsType(String value)
Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 2;public V1.AWSElasticBlockStoreVolumeSource.Builder clearFsType()
Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 2;public V1.AWSElasticBlockStoreVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 2;public boolean hasPartition()
The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). +optional
optional int32 partition = 3;hasPartition in interface V1.AWSElasticBlockStoreVolumeSourceOrBuilderpublic int getPartition()
The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). +optional
optional int32 partition = 3;getPartition in interface V1.AWSElasticBlockStoreVolumeSourceOrBuilderpublic V1.AWSElasticBlockStoreVolumeSource.Builder setPartition(int value)
The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). +optional
optional int32 partition = 3;public V1.AWSElasticBlockStoreVolumeSource.Builder clearPartition()
The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). +optional
optional int32 partition = 3;public boolean hasReadOnly()
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional bool readOnly = 4;hasReadOnly in interface V1.AWSElasticBlockStoreVolumeSourceOrBuilderpublic boolean getReadOnly()
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional bool readOnly = 4;getReadOnly in interface V1.AWSElasticBlockStoreVolumeSourceOrBuilderpublic V1.AWSElasticBlockStoreVolumeSource.Builder setReadOnly(boolean value)
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional bool readOnly = 4;public V1.AWSElasticBlockStoreVolumeSource.Builder clearReadOnly()
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional bool readOnly = 4;public final V1.AWSElasticBlockStoreVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>public final V1.AWSElasticBlockStoreVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>Copyright © 2020. All rights reserved.