Interface HostedZoneSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HostedZoneSummary.Builder,
,HostedZoneSummary> SdkBuilder<HostedZoneSummary.Builder,
,HostedZoneSummary> SdkPojo
- Enclosing class:
HostedZoneSummary
public static interface HostedZoneSummary.Builder
extends SdkPojo, CopyableBuilder<HostedZoneSummary.Builder,HostedZoneSummary>
-
Method Summary
Modifier and TypeMethodDescriptionhostedZoneId
(String hostedZoneId) The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.The name of the private hosted zone, such asexample.com
.default HostedZoneSummary.Builder
owner
(Consumer<HostedZoneOwner.Builder> owner) The owner of a private hosted zone that the specified VPC is associated with.owner
(HostedZoneOwner owner) The owner of a private hosted zone that the specified VPC is associated with.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
hostedZoneId
The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.
- Parameters:
hostedZoneId
- The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the private hosted zone, such as
example.com
.- Parameters:
name
- The name of the private hosted zone, such asexample.com
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
The owner of a private hosted zone that the specified VPC is associated with. The owner can be either an Amazon Web Services account or an Amazon Web Services service.
- Parameters:
owner
- The owner of a private hosted zone that the specified VPC is associated with. The owner can be either an Amazon Web Services account or an Amazon Web Services service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
The owner of a private hosted zone that the specified VPC is associated with. The owner can be either an Amazon Web Services account or an Amazon Web Services service.
This is a convenience method that creates an instance of theHostedZoneOwner.Builder
avoiding the need to create one manually viaHostedZoneOwner.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toowner(HostedZoneOwner)
.- Parameters:
owner
- a consumer that will call methods onHostedZoneOwner.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-