Class DeleteBucketUsersOptions.Builder

  • Enclosing class:
    DeleteBucketUsersOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

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

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

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

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

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

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

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