Interface GetProfileResponse.Builder

  • Method Details

    • profileType

      GetProfileResponse.Builder profileType(String profileType)

      The type of the profile.

      The following profile types are possible:

      • Lightsailor – The account is not enrolled in the Lightsail partner program.

      • LightsailPartner – The account is enrolled in the Lightsail partner program.

      Parameters:
      profileType - The type of the profile.

      The following profile types are possible:

      • Lightsailor – The account is not enrolled in the Lightsail partner program.

      • LightsailPartner – The account is enrolled in the Lightsail partner program.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • profileType

      GetProfileResponse.Builder profileType(ProfileType profileType)

      The type of the profile.

      The following profile types are possible:

      • Lightsailor – The account is not enrolled in the Lightsail partner program.

      • LightsailPartner – The account is enrolled in the Lightsail partner program.

      Parameters:
      profileType - The type of the profile.

      The following profile types are possible:

      • Lightsailor – The account is not enrolled in the Lightsail partner program.

      • LightsailPartner – The account is enrolled in the Lightsail partner program.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • partner

      An object that describes the partner membership of the account, such as the tier of the membership, its status, and when the account was enrolled.

      This parameter is returned only for accounts that have a profileType of LightsailPartner.

      Parameters:
      partner - An object that describes the partner membership of the account, such as the tier of the membership, its status, and when the account was enrolled.

      This parameter is returned only for accounts that have a profileType of LightsailPartner.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • partner

      An object that describes the partner membership of the account, such as the tier of the membership, its status, and when the account was enrolled.

      This parameter is returned only for accounts that have a profileType of LightsailPartner.

      This is a convenience method that creates an instance of the PartnerInfo.Builder avoiding the need to create one manually via PartnerInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to partner(PartnerInfo).

      Parameters:
      partner - a consumer that will call methods on PartnerInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: