Class ProfileIdentityRequest.Builder

  • Enclosing class:
    ProfileIdentityRequest

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

        public ProfileIdentityRequest.Builder addAccounts​(java.lang.String accounts)
        Adds a new element to accounts.
        Parameters:
        accounts - the new element to be added
        Returns:
        the ProfileIdentityRequest builder
      • identifier

        public ProfileIdentityRequest.Builder identifier​(java.lang.String identifier)
        Set the identifier.
        Parameters:
        identifier - the identifier
        Returns:
        the ProfileIdentityRequest builder
      • type

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

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

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