Class GroupsMetadata.Builder

  • Enclosing class:
    GroupsMetadata

    public static class GroupsMetadata.Builder
    extends java.lang.Object
    Builder.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Instantiates a new builder.
      Builder​(java.lang.String groupId, java.lang.String permission)
      Instantiates a new builder with required properties.
    • 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 GroupsMetadata build()
        Builds a GroupsMetadata.
        Returns:
        the new GroupsMetadata instance
      • groupId

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

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