Interface NamespaceSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NamespaceSummary.Builder,NamespaceSummary>,SdkBuilder<NamespaceSummary.Builder,NamespaceSummary>,SdkPojo
- Enclosing class:
- NamespaceSummary
public static interface NamespaceSummary.Builder extends SdkPojo, CopyableBuilder<NamespaceSummary.Builder,NamespaceSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NamespaceSummary.Builderarn(String arn)The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.NamespaceSummary.BuildercreateDate(Instant createDate)The date and time that the namespace was created.NamespaceSummary.Builderdescription(String description)A description for the namespace.NamespaceSummary.Builderid(String id)The ID of the namespace.NamespaceSummary.Buildername(String name)The name of the namespace.default NamespaceSummary.Builderproperties(Consumer<NamespaceProperties.Builder> properties)The properties of the namespace.NamespaceSummary.Builderproperties(NamespaceProperties properties)The properties of the namespace.NamespaceSummary.BuilderserviceCount(Integer serviceCount)The number of services that were created using the namespace.NamespaceSummary.Buildertype(String type)The type of the namespace, either public or private.NamespaceSummary.Buildertype(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 Detail
-
id
NamespaceSummary.Builder id(String 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
NamespaceSummary.Builder arn(String 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
NamespaceSummary.Builder name(String 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
NamespaceSummary.Builder type(String 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:
NamespaceType,NamespaceType
-
type
NamespaceSummary.Builder type(NamespaceType 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:
NamespaceType,NamespaceType
-
description
NamespaceSummary.Builder description(String 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
NamespaceSummary.Builder serviceCount(Integer 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
NamespaceSummary.Builder properties(NamespaceProperties 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
default NamespaceSummary.Builder properties(Consumer<NamespaceProperties.Builder> properties)
The properties of the namespace.
This is a convenience method that creates an instance of theNamespaceProperties.Builderavoiding the need to create one manually viaNamespaceProperties.builder().When the
Consumercompletes,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:
properties(NamespaceProperties)
-
createDate
NamespaceSummary.Builder createDate(Instant 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.
-
-