Interface CreateHostedZoneResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateHostedZoneResponse.Builder,
,CreateHostedZoneResponse> Route53Response.Builder
,SdkBuilder<CreateHostedZoneResponse.Builder,
,CreateHostedZoneResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateHostedZoneResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateHostedZoneResponse.Builder
changeInfo
(Consumer<ChangeInfo.Builder> changeInfo) A complex type that contains information about theCreateHostedZone
request.changeInfo
(ChangeInfo changeInfo) A complex type that contains information about theCreateHostedZone
request.default CreateHostedZoneResponse.Builder
delegationSet
(Consumer<DelegationSet.Builder> delegationSet) A complex type that describes the name servers for this hosted zone.delegationSet
(DelegationSet delegationSet) A complex type that describes the name servers for this hosted zone.default CreateHostedZoneResponse.Builder
hostedZone
(Consumer<HostedZone.Builder> hostedZone) A complex type that contains general information about the hosted zone.hostedZone
(HostedZone hostedZone) A complex type that contains general information about the hosted zone.The unique URL representing the new hosted zone.default CreateHostedZoneResponse.Builder
vpc
(Consumer<VPC.Builder> vpc) A complex type that contains information about an Amazon VPC that you associated with this hosted zone.A complex type that contains information about an Amazon VPC that you associated with this hosted zone.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53.model.Route53Response.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
hostedZone
A complex type that contains general information about the hosted zone.
- Parameters:
hostedZone
- A complex type that contains general information about the hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostedZone
A complex type that contains general information about the hosted zone.
This is a convenience method that creates an instance of theHostedZone.Builder
avoiding the need to create one manually viaHostedZone.builder()
.When the
Consumer
completes,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:
-
changeInfo
A complex type that contains information about the
CreateHostedZone
request.- Parameters:
changeInfo
- A complex type that contains information about theCreateHostedZone
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeInfo
A complex type that contains information about the
This is a convenience method that creates an instance of theCreateHostedZone
request.ChangeInfo.Builder
avoiding the need to create one manually viaChangeInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochangeInfo(ChangeInfo)
.- Parameters:
changeInfo
- a consumer that will call methods onChangeInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
delegationSet
A complex type that describes the name servers for this hosted zone.
- Parameters:
delegationSet
- A complex type that describes the name servers for this hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
delegationSet
default CreateHostedZoneResponse.Builder delegationSet(Consumer<DelegationSet.Builder> delegationSet) A complex type that describes the name servers for this hosted zone.
This is a convenience method that creates an instance of theDelegationSet.Builder
avoiding the need to create one manually viaDelegationSet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todelegationSet(DelegationSet)
.- Parameters:
delegationSet
- a consumer that will call methods onDelegationSet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpc
A complex type that contains information about an Amazon VPC that you associated with this hosted zone.
- Parameters:
vpc
- A complex type that contains information about an Amazon VPC that you associated with this hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
A complex type that contains information about an Amazon VPC that you associated with this hosted zone.
This is a convenience method that creates an instance of theVPC.Builder
avoiding the need to create one manually viaVPC.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpc(VPC)
.- Parameters:
vpc
- a consumer that will call methods onVPC.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
location
The unique URL representing the new hosted zone.
- Parameters:
location
- The unique URL representing the new hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-