Class BucketDbConnGroupsMetadata.Builder

  • Enclosing class:
    BucketDbConnGroupsMetadata

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public BucketDbConnGroupsMetadata build()
        Builds a BucketDbConnGroupsMetadata.
        Returns:
        the new BucketDbConnGroupsMetadata instance
      • groupId

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

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