Interface CreateProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateProfileResponse.Builder,,CreateProfileResponse> Route53ProfilesResponse.Builder,SdkBuilder<CreateProfileResponse.Builder,,CreateProfileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateProfileResponse
public static interface CreateProfileResponse.Builder
extends Route53ProfilesResponse.Builder, SdkPojo, CopyableBuilder<CreateProfileResponse.Builder,CreateProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateProfileResponse.Builderprofile(Consumer<Profile.Builder> profile) The Profile that you just created.The Profile that you just created.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
The Profile that you just created.
- Parameters:
profile- The Profile that you just created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profile
The Profile that you just created.
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:
-