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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HostedZoneSummary.BuilderhostedZoneId(String hostedZoneId)The Route 53 hosted zone ID of a private hosted zone that the specified VPC is associated with.HostedZoneSummary.Buildername(String name)The name of the private hosted zone, such asexample.com.default HostedZoneSummary.Builderowner(Consumer<HostedZoneOwner.Builder> owner)The owner of a private hosted zone that the specified VPC is associated with.HostedZoneSummary.Builderowner(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 Detail
-
hostedZoneId
HostedZoneSummary.Builder hostedZoneId(String 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
HostedZoneSummary.Builder name(String 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
HostedZoneSummary.Builder owner(HostedZoneOwner 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
default HostedZoneSummary.Builder owner(Consumer<HostedZoneOwner.Builder> 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.Builderavoiding the need to create one manually viaHostedZoneOwner.builder().When the
Consumercompletes,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:
owner(HostedZoneOwner)
-
-