Interface NamespaceProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NamespaceProperties.Builder,
,NamespaceProperties> SdkBuilder<NamespaceProperties.Builder,
,NamespaceProperties> SdkPojo
- Enclosing class:
NamespaceProperties
@Mutable
@NotThreadSafe
public static interface NamespaceProperties.Builder
extends SdkPojo, CopyableBuilder<NamespaceProperties.Builder,NamespaceProperties>
-
Method Summary
Modifier and TypeMethodDescriptiondefault NamespaceProperties.Builder
dnsProperties
(Consumer<DnsProperties.Builder> dnsProperties) A complex type that contains the ID for the Route 53 hosted zone that Cloud Map creates when you create a namespace.dnsProperties
(DnsProperties dnsProperties) A complex type that contains the ID for the Route 53 hosted zone that Cloud Map creates when you create a namespace.default NamespaceProperties.Builder
httpProperties
(Consumer<HttpProperties.Builder> httpProperties) A complex type that contains the name of an HTTP namespace.httpProperties
(HttpProperties httpProperties) A complex type that contains the name of an HTTP namespace.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 Details
-
dnsProperties
A complex type that contains the ID for the Route 53 hosted zone that Cloud Map creates when you create a namespace.
- Parameters:
dnsProperties
- A complex type that contains 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.
-
dnsProperties
A complex type that contains the ID for the Route 53 hosted zone that Cloud Map creates when you create a namespace.
This is a convenience method that creates an instance of theDnsProperties.Builder
avoiding the need to create one manually viaDnsProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todnsProperties(DnsProperties)
.- Parameters:
dnsProperties
- a consumer that will call methods onDnsProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
httpProperties
A complex type that contains the name of an HTTP namespace.
- Parameters:
httpProperties
- A complex type that contains the name of an HTTP namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpProperties
A complex type that contains the name of an HTTP namespace.
This is a convenience method that creates an instance of theHttpProperties.Builder
avoiding the need to create one manually viaHttpProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohttpProperties(HttpProperties)
.- Parameters:
httpProperties
- a consumer that will call methods onHttpProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-