Interface NamespaceSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NamespaceSummary.Builder,
,NamespaceSummary> SdkBuilder<NamespaceSummary.Builder,
,NamespaceSummary> SdkPojo
- Enclosing class:
NamespaceSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.createDate
(Instant createDate) The date and time that the namespace was created.description
(String description) A description for the namespace.The ID of the namespace.The name of the namespace.default NamespaceSummary.Builder
properties
(Consumer<NamespaceProperties.Builder> properties) The properties of the namespace.properties
(NamespaceProperties properties) The properties of the namespace.serviceCount
(Integer serviceCount) The number of services that were created using the namespace.The type of the namespace, either public or private.type
(NamespaceType type) The type of the namespace, either public or private.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
-
id
The ID of the namespace.
- Parameters:
id
- The ID of the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.
- Parameters:
arn
- The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the namespace. When you create a namespace, Cloud Map automatically creates a RouteĀ 53 hosted zone that has the same name as the namespace.
- Parameters:
name
- The name of the namespace. When you create a namespace, Cloud Map automatically creates a RouteĀ 53 hosted zone that has the same name as the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the namespace, either public or private.
- Parameters:
type
- The type of the namespace, either public or private.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the namespace, either public or private.
- Parameters:
type
- The type of the namespace, either public or private.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description for the namespace.
- Parameters:
description
- A description for the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceCount
The number of services that were created using the namespace.
- Parameters:
serviceCount
- The number of services that were created using the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
The properties of the namespace.
- Parameters:
properties
- The properties of the namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
The properties of the namespace.
This is a convenience method that creates an instance of theNamespaceProperties.Builder
avoiding the need to create one manually viaNamespaceProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproperties(NamespaceProperties)
.- Parameters:
properties
- a consumer that will call methods onNamespaceProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createDate
The date and time that the namespace was created.
- Parameters:
createDate
- The date and time that the namespace was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-