Interface GetProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetProfileResponse.Builder,,GetProfileResponse> Route53ProfilesResponse.Builder,SdkBuilder<GetProfileResponse.Builder,,GetProfileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetProfileResponse
public static interface GetProfileResponse.Builder
extends Route53ProfilesResponse.Builder, SdkPojo, CopyableBuilder<GetProfileResponse.Builder,GetProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetProfileResponse.Builderprofile(Consumer<Profile.Builder> profile) Information about the Profile, including the status of the Profile.Information about the Profile, including the status of the Profile.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53profiles.model.Route53ProfilesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
profile
Information about the Profile, including the status of the Profile.
- Parameters:
profile- Information about the Profile, including the status of the Profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profile
Information about the Profile, including the status of the Profile.
This is a convenience method that creates an instance of theProfile.Builderavoiding the need to create one manually viaProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprofile(Profile).- Parameters:
profile- a consumer that will call methods onProfile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-