Class QuobyteVolumeSource.Builder

  • Enclosing class:
    QuobyteVolumeSource

    public static class QuobyteVolumeSource.Builder
    extends java.lang.Object
    • Method Detail

      • group

        public QuobyteVolumeSource.Builder group​(java.lang.String group)
        Group to map volume access to Default is no group
        Returns:
        this.
      • readOnly

        public QuobyteVolumeSource.Builder readOnly​(java.lang.Boolean readOnly)
        ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
        Returns:
        this.
      • registry

        public QuobyteVolumeSource.Builder registry​(@NonNull
                                                    @NonNull java.lang.String registry)
        Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes
        Returns:
        this.
      • tenant

        public QuobyteVolumeSource.Builder tenant​(java.lang.String tenant)
        Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
        Returns:
        this.
      • user

        public QuobyteVolumeSource.Builder user​(java.lang.String user)
        User to map volume access to Defaults to serivceaccount user
        Returns:
        this.
      • volume

        public QuobyteVolumeSource.Builder volume​(@NonNull
                                                  @NonNull java.lang.String volume)
        Volume is a string that references an already created Quobyte volume by name.
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object