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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DnsProperties.BuilderhostedZoneId(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.DnsProperties.Buildersoa(SOA soa)Start of Authority (SOA) record for the hosted zone.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
hostedZoneId
DnsProperties.Builder hostedZoneId(String 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
DnsProperties.Builder soa(SOA 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
default DnsProperties.Builder soa(Consumer<SOA.Builder> 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:
soa(SOA)
-
-