Class BucketDbConnUsersMetadata.Builder

  • Enclosing class:
    BucketDbConnUsersMetadata

    public static class BucketDbConnUsersMetadata.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String userName,
                       java.lang.String permission)
        Instantiates a new builder with required properties.
        Parameters:
        userName - the userName
        permission - the permission
    • Method Detail

      • build

        public BucketDbConnUsersMetadata build()
        Builds a BucketDbConnUsersMetadata.
        Returns:
        the new BucketDbConnUsersMetadata instance
      • userName

        public BucketDbConnUsersMetadata.Builder userName​(java.lang.String userName)
        Set the userName.
        Parameters:
        userName - the userName
        Returns:
        the BucketDbConnUsersMetadata builder
      • permission

        public BucketDbConnUsersMetadata.Builder permission​(java.lang.String permission)
        Set the permission.
        Parameters:
        permission - the permission
        Returns:
        the BucketDbConnUsersMetadata builder