Interface PublicDnsNamespacePropertiesChange.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PublicDnsNamespacePropertiesChange.Builder,,PublicDnsNamespacePropertiesChange> SdkBuilder<PublicDnsNamespacePropertiesChange.Builder,,PublicDnsNamespacePropertiesChange> SdkPojo
- Enclosing class:
PublicDnsNamespacePropertiesChange
public static interface PublicDnsNamespacePropertiesChange.Builder
extends SdkPojo, CopyableBuilder<PublicDnsNamespacePropertiesChange.Builder,PublicDnsNamespacePropertiesChange>
-
Method Summary
Modifier and TypeMethodDescriptiondnsProperties(Consumer<PublicDnsPropertiesMutableChange.Builder> dnsProperties) Updated DNS properties for the hosted zone for the public DNS namespace.dnsProperties(PublicDnsPropertiesMutableChange dnsProperties) Updated DNS properties for the hosted zone for the public DNS namespace.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
-
dnsProperties
PublicDnsNamespacePropertiesChange.Builder dnsProperties(PublicDnsPropertiesMutableChange dnsProperties) Updated DNS properties for the hosted zone for the public DNS namespace.
- Parameters:
dnsProperties- Updated DNS properties for the hosted zone for the public DNS namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsProperties
default PublicDnsNamespacePropertiesChange.Builder dnsProperties(Consumer<PublicDnsPropertiesMutableChange.Builder> dnsProperties) Updated DNS properties for the hosted zone for the public DNS namespace.
This is a convenience method that creates an instance of thePublicDnsPropertiesMutableChange.Builderavoiding the need to create one manually viaPublicDnsPropertiesMutableChange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todnsProperties(PublicDnsPropertiesMutableChange).- Parameters:
dnsProperties- a consumer that will call methods onPublicDnsPropertiesMutableChange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-