public static interface Namespace.Builder extends CopyableBuilder<Namespace.Builder,Namespace>
Modifier and Type | Method and Description |
---|---|
Namespace.Builder |
arn(String arn)
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace when you create it.
|
Namespace.Builder |
createDate(Instant createDate)
The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC).
|
Namespace.Builder |
creatorRequestId(String creatorRequestId)
An optional parameter that you can use to resolve concurrent creation requests.
|
Namespace.Builder |
description(String description)
The description that you specify for the namespace when you create it.
|
Namespace.Builder |
id(String id)
The ID of a namespace.
|
Namespace.Builder |
name(String name)
The name of the namespace, such as
example.com . |
default Namespace.Builder |
properties(Consumer<NamespaceProperties.Builder> properties)
A complex type that contains information that's specific to the type of the namespace.
|
Namespace.Builder |
properties(NamespaceProperties properties)
A complex type that contains information that's specific to the type of the namespace.
|
Namespace.Builder |
serviceCount(Integer serviceCount)
The number of services that are associated with the namespace.
|
Namespace.Builder |
type(NamespaceType type)
The type of the namespace.
|
Namespace.Builder |
type(String type)
The type of the namespace.
|
copy
apply, build
Namespace.Builder id(String id)
The ID of a namespace.
id
- The ID of a namespace.Namespace.Builder arn(String arn)
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace when you create it.
arn
- The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace when you create it.Namespace.Builder name(String name)
The name of the namespace, such as example.com
.
name
- The name of the namespace, such as example.com
.Namespace.Builder type(String type)
The type of the namespace. Valid values are DNS_PUBLIC
and DNS_PRIVATE
.
type
- The type of the namespace. Valid values are DNS_PUBLIC
and DNS_PRIVATE
.NamespaceType
,
NamespaceType
Namespace.Builder type(NamespaceType type)
The type of the namespace. Valid values are DNS_PUBLIC
and DNS_PRIVATE
.
type
- The type of the namespace. Valid values are DNS_PUBLIC
and DNS_PRIVATE
.NamespaceType
,
NamespaceType
Namespace.Builder description(String description)
The description that you specify for the namespace when you create it.
description
- The description that you specify for the namespace when you create it.Namespace.Builder serviceCount(Integer serviceCount)
The number of services that are associated with the namespace.
serviceCount
- The number of services that are associated with the namespace.Namespace.Builder properties(NamespaceProperties properties)
A complex type that contains information that's specific to the type of the namespace.
properties
- A complex type that contains information that's specific to the type of the namespace.default Namespace.Builder properties(Consumer<NamespaceProperties.Builder> properties)
A complex type that contains information that's specific to the type of the namespace.
This is a convenience that creates an instance of theNamespaceProperties.Builder
avoiding the need
to create one manually via NamespaceProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to properties(NamespaceProperties)
.properties
- a consumer that will call methods on NamespaceProperties.Builder
properties(NamespaceProperties)
Namespace.Builder createDate(Instant createDate)
The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC).
createDate
- The date that the namespace was created, in Unix date/time format and Coordinated Universal Time
(UTC).Namespace.Builder creatorRequestId(String creatorRequestId)
An optional parameter that you can use to resolve concurrent creation requests. CreatorRequestId
helps to determine if a specific client owns the namespace.
creatorRequestId
- An optional parameter that you can use to resolve concurrent creation requests.
CreatorRequestId
helps to determine if a specific client owns the namespace.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.