Class Generated.AWSElasticBlockStoreVolumeSource.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
      • getDefaultInstanceForType

        public Generated.AWSElasticBlockStoreVolumeSource getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Generated.AWSElasticBlockStoreVolumeSource build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Generated.AWSElasticBlockStoreVolumeSource buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
      • hasVolumeID

        public boolean hasVolumeID()
         volumeID is 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;
        Specified by:
        hasVolumeID in interface Generated.AWSElasticBlockStoreVolumeSourceOrBuilder
        Returns:
        Whether the volumeID field is set.
      • getVolumeID

        public String getVolumeID()
         volumeID is 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;
        Specified by:
        getVolumeID in interface Generated.AWSElasticBlockStoreVolumeSourceOrBuilder
        Returns:
        The volumeID.
      • getVolumeIDBytes

        public com.google.protobuf.ByteString getVolumeIDBytes()
         volumeID is 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;
        Specified by:
        getVolumeIDBytes in interface Generated.AWSElasticBlockStoreVolumeSourceOrBuilder
        Returns:
        The bytes for volumeID.
      • setVolumeID

        public Generated.AWSElasticBlockStoreVolumeSource.Builder setVolumeID​(String value)
         volumeID is 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;
        Parameters:
        value - The volumeID to set.
        Returns:
        This builder for chaining.
      • clearVolumeID

        public Generated.AWSElasticBlockStoreVolumeSource.Builder clearVolumeID()
         volumeID is 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;
        Returns:
        This builder for chaining.
      • setVolumeIDBytes

        public Generated.AWSElasticBlockStoreVolumeSource.Builder setVolumeIDBytes​(com.google.protobuf.ByteString value)
         volumeID is 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;
        Parameters:
        value - The bytes for volumeID to set.
        Returns:
        This builder for chaining.
      • hasFsType

        public boolean hasFsType()
         fsType is the 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;
        Specified by:
        hasFsType in interface Generated.AWSElasticBlockStoreVolumeSourceOrBuilder
        Returns:
        Whether the fsType field is set.
      • getFsType

        public String getFsType()
         fsType is the 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;
        Specified by:
        getFsType in interface Generated.AWSElasticBlockStoreVolumeSourceOrBuilder
        Returns:
        The fsType.
      • getFsTypeBytes

        public com.google.protobuf.ByteString getFsTypeBytes()
         fsType is the 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;
        Specified by:
        getFsTypeBytes in interface Generated.AWSElasticBlockStoreVolumeSourceOrBuilder
        Returns:
        The bytes for fsType.
      • setFsType

        public Generated.AWSElasticBlockStoreVolumeSource.Builder setFsType​(String value)
         fsType is the 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;
        Parameters:
        value - The fsType to set.
        Returns:
        This builder for chaining.
      • clearFsType

        public Generated.AWSElasticBlockStoreVolumeSource.Builder clearFsType()
         fsType is the 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;
        Returns:
        This builder for chaining.
      • setFsTypeBytes

        public Generated.AWSElasticBlockStoreVolumeSource.Builder setFsTypeBytes​(com.google.protobuf.ByteString value)
         fsType is the 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;
        Parameters:
        value - The bytes for fsType to set.
        Returns:
        This builder for chaining.
      • hasPartition

        public boolean hasPartition()
         partition is 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;
        Specified by:
        hasPartition in interface Generated.AWSElasticBlockStoreVolumeSourceOrBuilder
        Returns:
        Whether the partition field is set.
      • getPartition

        public int getPartition()
         partition is 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;
        Specified by:
        getPartition in interface Generated.AWSElasticBlockStoreVolumeSourceOrBuilder
        Returns:
        The partition.
      • setPartition

        public Generated.AWSElasticBlockStoreVolumeSource.Builder setPartition​(int value)
         partition is 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;
        Parameters:
        value - The partition to set.
        Returns:
        This builder for chaining.
      • clearPartition

        public Generated.AWSElasticBlockStoreVolumeSource.Builder clearPartition()
         partition is 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;
        Returns:
        This builder for chaining.
      • hasReadOnly

        public boolean hasReadOnly()
         readOnly value true will force the readOnly setting in VolumeMounts.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
         +optional
         
        optional bool readOnly = 4;
        Specified by:
        hasReadOnly in interface Generated.AWSElasticBlockStoreVolumeSourceOrBuilder
        Returns:
        Whether the readOnly field is set.
      • getReadOnly

        public boolean getReadOnly()
         readOnly value true will force the readOnly setting in VolumeMounts.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
         +optional
         
        optional bool readOnly = 4;
        Specified by:
        getReadOnly in interface Generated.AWSElasticBlockStoreVolumeSourceOrBuilder
        Returns:
        The readOnly.
      • setReadOnly

        public Generated.AWSElasticBlockStoreVolumeSource.Builder setReadOnly​(boolean value)
         readOnly value true will force the readOnly setting in VolumeMounts.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
         +optional
         
        optional bool readOnly = 4;
        Parameters:
        value - The readOnly to set.
        Returns:
        This builder for chaining.
      • clearReadOnly

        public Generated.AWSElasticBlockStoreVolumeSource.Builder clearReadOnly()
         readOnly value true will force the readOnly setting in VolumeMounts.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
         +optional
         
        optional bool readOnly = 4;
        Returns:
        This builder for chaining.