public static final class AWSElasticBlockStoreVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AWSElasticBlockStoreVolumeSource.Builder> implements 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
appscode.kubernetes.v1beta2.AWSElasticBlockStoreVolumeSource| Modifier and Type | Method and Description |
|---|---|
AWSElasticBlockStoreVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
AWSElasticBlockStoreVolumeSource |
build() |
AWSElasticBlockStoreVolumeSource |
buildPartial() |
AWSElasticBlockStoreVolumeSource.Builder |
clear() |
AWSElasticBlockStoreVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AWSElasticBlockStoreVolumeSource.Builder |
clearFsType()
Filesystem type of the volume that you want to mount.
|
AWSElasticBlockStoreVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AWSElasticBlockStoreVolumeSource.Builder |
clearPartition()
The partition in the volume that you want to mount.
|
AWSElasticBlockStoreVolumeSource.Builder |
clearReadOnly()
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".
|
AWSElasticBlockStoreVolumeSource.Builder |
clearVolumeID()
Unique ID of the persistent disk resource in AWS (Amazon EBS volume).
|
AWSElasticBlockStoreVolumeSource.Builder |
clone() |
AWSElasticBlockStoreVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.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".
|
java.lang.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).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AWSElasticBlockStoreVolumeSource.Builder |
mergeFrom(AWSElasticBlockStoreVolumeSource other) |
AWSElasticBlockStoreVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AWSElasticBlockStoreVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
AWSElasticBlockStoreVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AWSElasticBlockStoreVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
AWSElasticBlockStoreVolumeSource.Builder |
setFsType(java.lang.String value)
Filesystem type of the volume that you want to mount.
|
AWSElasticBlockStoreVolumeSource.Builder |
setFsTypeBytes(com.google.protobuf.ByteString value)
Filesystem type of the volume that you want to mount.
|
AWSElasticBlockStoreVolumeSource.Builder |
setPartition(int value)
The partition in the volume that you want to mount.
|
AWSElasticBlockStoreVolumeSource.Builder |
setReadOnly(boolean value)
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".
|
AWSElasticBlockStoreVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
AWSElasticBlockStoreVolumeSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AWSElasticBlockStoreVolumeSource.Builder |
setVolumeID(java.lang.String value)
Unique ID of the persistent disk resource in AWS (Amazon EBS volume).
|
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, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, 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<AWSElasticBlockStoreVolumeSource.Builder>public 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<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<AWSElasticBlockStoreVolumeSource.Builder>public AWSElasticBlockStoreVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AWSElasticBlockStoreVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AWSElasticBlockStoreVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic 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<AWSElasticBlockStoreVolumeSource.Builder>public AWSElasticBlockStoreVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AWSElasticBlockStoreVolumeSource.Builder>public AWSElasticBlockStoreVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AWSElasticBlockStoreVolumeSource.Builder>public AWSElasticBlockStoreVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AWSElasticBlockStoreVolumeSource.Builder>public AWSElasticBlockStoreVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AWSElasticBlockStoreVolumeSource.Builder>public AWSElasticBlockStoreVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AWSElasticBlockStoreVolumeSource.Builder>public AWSElasticBlockStoreVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AWSElasticBlockStoreVolumeSource.Builder>public AWSElasticBlockStoreVolumeSource.Builder mergeFrom(AWSElasticBlockStoreVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AWSElasticBlockStoreVolumeSource.Builder>public AWSElasticBlockStoreVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AWSElasticBlockStoreVolumeSource.Builder>java.io.IOExceptionpublic java.lang.String getVolumeID()
Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#awselasticblockstore
optional string volumeID = 1;getVolumeID in interface AWSElasticBlockStoreVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getVolumeIDBytes()
Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#awselasticblockstore
optional string volumeID = 1;getVolumeIDBytes in interface AWSElasticBlockStoreVolumeSourceOrBuilderpublic AWSElasticBlockStoreVolumeSource.Builder setVolumeID(java.lang.String value)
Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#awselasticblockstore
optional string volumeID = 1;public AWSElasticBlockStoreVolumeSource.Builder clearVolumeID()
Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#awselasticblockstore
optional string volumeID = 1;public AWSElasticBlockStoreVolumeSource.Builder setVolumeIDBytes(com.google.protobuf.ByteString value)
Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#awselasticblockstore
optional string volumeID = 1;public java.lang.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: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine
optional string fsType = 2;getFsType in interface 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: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine
optional string fsType = 2;getFsTypeBytes in interface AWSElasticBlockStoreVolumeSourceOrBuilderpublic AWSElasticBlockStoreVolumeSource.Builder setFsType(java.lang.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: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine
optional string fsType = 2;public 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: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine
optional string fsType = 2;public 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: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine
optional string fsType = 2;public 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 int32 partition = 3;getPartition in interface AWSElasticBlockStoreVolumeSourceOrBuilderpublic 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 int32 partition = 3;public 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 int32 partition = 3;public boolean getReadOnly()
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#awselasticblockstore
optional bool readOnly = 4;getReadOnly in interface AWSElasticBlockStoreVolumeSourceOrBuilderpublic 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: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#awselasticblockstore
optional bool readOnly = 4;public AWSElasticBlockStoreVolumeSource.Builder clearReadOnly()
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: http://releases.k8s.io/release-1.4/docs/user-guide/volumes.md#awselasticblockstore
optional bool readOnly = 4;public final AWSElasticBlockStoreVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AWSElasticBlockStoreVolumeSource.Builder>public final AWSElasticBlockStoreVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AWSElasticBlockStoreVolumeSource.Builder>