Class SetProfileIdentityOptions.Builder

  • Enclosing class:
    SetProfileIdentityOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

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

        public SetProfileIdentityOptions.Builder profileId​(java.lang.String profileId)
        Set the profileId.
        Parameters:
        profileId - the profileId
        Returns:
        the SetProfileIdentityOptions builder
      • identityType

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

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

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

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

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