Class DeleteMetastoreUsersOptions.Builder

  • Enclosing class:
    DeleteMetastoreUsersOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public DeleteMetastoreUsersOptions build()
        Builds a DeleteMetastoreUsersOptions.
        Returns:
        the new DeleteMetastoreUsersOptions instance
      • addGroups

        public DeleteMetastoreUsersOptions.Builder addGroups​(java.lang.String groups)
        Adds an groups to groups.
        Parameters:
        groups - the new groups
        Returns:
        the DeleteMetastoreUsersOptions builder
      • addUsers

        public DeleteMetastoreUsersOptions.Builder addUsers​(java.lang.String users)
        Adds an users to users.
        Parameters:
        users - the new users
        Returns:
        the DeleteMetastoreUsersOptions builder
      • metastoreName

        public DeleteMetastoreUsersOptions.Builder metastoreName​(java.lang.String metastoreName)
        Set the metastoreName.
        Parameters:
        metastoreName - the metastoreName
        Returns:
        the DeleteMetastoreUsersOptions builder
      • groups

        public DeleteMetastoreUsersOptions.Builder groups​(java.util.List<java.lang.String> groups)
        Set the groups. Existing groups will be replaced.
        Parameters:
        groups - the groups
        Returns:
        the DeleteMetastoreUsersOptions builder
      • users

        public DeleteMetastoreUsersOptions.Builder users​(java.util.List<java.lang.String> users)
        Set the users. Existing users will be replaced.
        Parameters:
        users - the users
        Returns:
        the DeleteMetastoreUsersOptions builder
      • lhInstanceId

        public DeleteMetastoreUsersOptions.Builder lhInstanceId​(java.lang.String lhInstanceId)
        Set the lhInstanceId.
        Parameters:
        lhInstanceId - the lhInstanceId
        Returns:
        the DeleteMetastoreUsersOptions builder
      • authInstanceId

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