Interface UpdateHostedZoneCommentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateHostedZoneCommentResponse.Builder,,UpdateHostedZoneCommentResponse> Route53Response.Builder,SdkBuilder<UpdateHostedZoneCommentResponse.Builder,,UpdateHostedZoneCommentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateHostedZoneCommentResponse
@Mutable
@NotThreadSafe
public static interface UpdateHostedZoneCommentResponse.Builder
extends Route53Response.Builder, SdkPojo, CopyableBuilder<UpdateHostedZoneCommentResponse.Builder,UpdateHostedZoneCommentResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhostedZone(Consumer<HostedZone.Builder> hostedZone) A complex type that contains the response to theUpdateHostedZoneCommentrequest.hostedZone(HostedZone hostedZone) A complex type that contains the response to theUpdateHostedZoneCommentrequest.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53.model.Route53Response.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
-
hostedZone
A complex type that contains the response to the
UpdateHostedZoneCommentrequest.- Parameters:
hostedZone- A complex type that contains the response to theUpdateHostedZoneCommentrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostedZone
A complex type that contains the response to the
This is a convenience method that creates an instance of theUpdateHostedZoneCommentrequest.HostedZone.Builderavoiding the need to create one manually viaHostedZone.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohostedZone(HostedZone).- Parameters:
hostedZone- a consumer that will call methods onHostedZone.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-