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.Builder
profile
(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
copy
Methods inherited from interface software.amazon.awssdk.services.route53profiles.model.Route53ProfilesResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaProfile.builder()
.When the
Consumer
completes,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:
-