Interface DnsProperties.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DnsProperties.Builder,,DnsProperties> SdkBuilder<DnsProperties.Builder,,DnsProperties> SdkPojo
- Enclosing class:
DnsProperties
public static interface DnsProperties.Builder
extends SdkPojo, CopyableBuilder<DnsProperties.Builder,DnsProperties>
-
Method Summary
Modifier and TypeMethodDescriptionhostedZoneId(String hostedZoneId) The ID for the Route 53 hosted zone that Cloud Map creates when you create a namespace.default DnsProperties.Buildersoa(Consumer<SOA.Builder> soa) Start of Authority (SOA) record for the hosted zone.Start of Authority (SOA) record for the hosted zone.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
hostedZoneId
The ID for the Route 53 hosted zone that Cloud Map creates when you create a namespace.
- Parameters:
hostedZoneId- The ID for the Route 53 hosted zone that Cloud Map creates when you create a namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
soa
Start of Authority (SOA) record for the hosted zone.
- Parameters:
soa- Start of Authority (SOA) record for the hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
soa
Start of Authority (SOA) record for the hosted zone.
This is a convenience method that creates an instance of theSOA.Builderavoiding the need to create one manually viaSOA.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosoa(SOA).- Parameters:
soa- a consumer that will call methods onSOA.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-