Class RbdVolumeSource.Jsii$Proxy

  • All Implemented Interfaces:
    RbdVolumeSource, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    RbdVolumeSource

    @Stability(Stable)
    @Internal
    public static final class RbdVolumeSource.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements RbdVolumeSource
    An implementation for RbdVolumeSource
    • Constructor Detail

      • Jsii$Proxy

        protected Jsii$Proxy​(software.amazon.jsii.JsiiObjectRef objRef)
        Constructor that initializes the object based on values retrieved from the JsiiObject.
        Parameters:
        objRef - Reference to the JSII managed object.
    • Method Detail

      • getImage

        public final String getImage()
        Description copied from interface: RbdVolumeSource
        image is the rados image name.

        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

        Specified by:
        getImage in interface RbdVolumeSource
      • getMonitors

        public final List<String> getMonitors()
        Description copied from interface: RbdVolumeSource
        monitors is a collection of Ceph monitors.

        More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

        Specified by:
        getMonitors in interface RbdVolumeSource
      • getFsType

        public final String getFsType()
        Description copied from interface: RbdVolumeSource
        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#rbd

        Specified by:
        getFsType in interface RbdVolumeSource
      • getKeyring

        public final String getKeyring()
        Description copied from interface: RbdVolumeSource
        keyring is the path to key ring for RBDUser.

        Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

        Default: etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

        Specified by:
        getKeyring in interface RbdVolumeSource
      • getPool

        public final String getPool()
        Description copied from interface: RbdVolumeSource
        pool is the rados pool name.

        Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

        Default: rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

        Specified by:
        getPool in interface RbdVolumeSource
      • getReadOnly

        public final Boolean getReadOnly()
        Description copied from interface: RbdVolumeSource
        readOnly here will force the ReadOnly setting in VolumeMounts.

        Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

        Default: false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

        Specified by:
        getReadOnly in interface RbdVolumeSource
      • getSecretRef

        public final LocalObjectReference getSecretRef()
        Description copied from interface: RbdVolumeSource
        secretRef is name of the authentication secret for RBDUser.

        If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

        Default: nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

        Specified by:
        getSecretRef in interface RbdVolumeSource
      • getUser

        public final String getUser()
        Description copied from interface: RbdVolumeSource
        user is the rados user name.

        Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

        Default: admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it

        Specified by:
        getUser in interface RbdVolumeSource
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object