Class AddObjectAccessListOptions.Builder

  • Enclosing class:
    AddObjectAccessListOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String catalogIdentifier,
                       java.lang.String objectIdentifier,
                       java.util.List<java.lang.String> accounts)
        Instantiates a new builder with required properties.
        Parameters:
        catalogIdentifier - the catalogIdentifier
        objectIdentifier - the objectIdentifier
        accounts - the accounts
    • Method Detail

      • build

        public AddObjectAccessListOptions build()
        Builds a AddObjectAccessListOptions.
        Returns:
        the new AddObjectAccessListOptions instance
      • addAccounts

        public AddObjectAccessListOptions.Builder addAccounts​(java.lang.String accounts)
        Adds an accounts to accounts.
        Parameters:
        accounts - the new accounts
        Returns:
        the AddObjectAccessListOptions builder
      • catalogIdentifier

        public AddObjectAccessListOptions.Builder catalogIdentifier​(java.lang.String catalogIdentifier)
        Set the catalogIdentifier.
        Parameters:
        catalogIdentifier - the catalogIdentifier
        Returns:
        the AddObjectAccessListOptions builder
      • objectIdentifier

        public AddObjectAccessListOptions.Builder objectIdentifier​(java.lang.String objectIdentifier)
        Set the objectIdentifier.
        Parameters:
        objectIdentifier - the objectIdentifier
        Returns:
        the AddObjectAccessListOptions builder
      • accounts

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