Interface GetProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetProfileResponse.Builder,,GetProfileResponse> LightsailResponse.Builder,SdkBuilder<GetProfileResponse.Builder,,GetProfileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetProfileResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetProfileResponse.Builderpartner(Consumer<PartnerInfo.Builder> 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.partner(PartnerInfo 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.profileType(String profileType) The type of the profile.profileType(ProfileType profileType) The type of the profile.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
profileTypeofLightsailPartner.- 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
profileTypeofLightsailPartner.- 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
This is a convenience method that creates an instance of theprofileTypeofLightsailPartner.PartnerInfo.Builderavoiding the need to create one manually viaPartnerInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartner(PartnerInfo).- Parameters:
partner- a consumer that will call methods onPartnerInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-