Class CreateLinkOptions.Builder

  • Enclosing class:
    CreateLinkOptions

    public static class CreateLinkOptions.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 crType,
                       CreateProfileLinkRequestLink link)
        Instantiates a new builder with required properties.
        Parameters:
        profileId - the profileId
        crType - the crType
        link - the link
    • Method Detail

      • build

        public CreateLinkOptions build()
        Builds a CreateLinkOptions.
        Returns:
        the new CreateLinkOptions instance
      • profileId

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

        public CreateLinkOptions.Builder crType​(java.lang.String crType)
        Set the crType.
        Parameters:
        crType - the crType
        Returns:
        the CreateLinkOptions builder
      • name

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