@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Namespace extends Object implements Serializable, Cloneable, StructuredPojo
A complex type that contains information about a specified namespace.
Constructor and Description |
---|
Namespace() |
Modifier and Type | Method and Description |
---|---|
Namespace |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace when you create it.
|
Date |
getCreateDate()
The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC).
|
String |
getCreatorRequestId()
An optional parameter that you can use to resolve concurrent creation requests.
|
String |
getDescription()
The description that you specify for the namespace when you create it.
|
String |
getId()
The ID of a namespace.
|
String |
getName()
The name of the namespace, such as
example.com . |
NamespaceProperties |
getProperties()
A complex type that contains information that's specific to the type of the namespace.
|
Integer |
getServiceCount()
The number of services that are associated with the namespace.
|
String |
getType()
The type of the namespace.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace when you create it.
|
void |
setCreateDate(Date createDate)
The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC).
|
void |
setCreatorRequestId(String creatorRequestId)
An optional parameter that you can use to resolve concurrent creation requests.
|
void |
setDescription(String description)
The description that you specify for the namespace when you create it.
|
void |
setId(String id)
The ID of a namespace.
|
void |
setName(String name)
The name of the namespace, such as
example.com . |
void |
setProperties(NamespaceProperties properties)
A complex type that contains information that's specific to the type of the namespace.
|
void |
setServiceCount(Integer serviceCount)
The number of services that are associated with the namespace.
|
void |
setType(String type)
The type of the namespace.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Namespace |
withArn(String arn)
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace when you create it.
|
Namespace |
withCreateDate(Date createDate)
The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC).
|
Namespace |
withCreatorRequestId(String creatorRequestId)
An optional parameter that you can use to resolve concurrent creation requests.
|
Namespace |
withDescription(String description)
The description that you specify for the namespace when you create it.
|
Namespace |
withId(String id)
The ID of a namespace.
|
Namespace |
withName(String name)
The name of the namespace, such as
example.com . |
Namespace |
withProperties(NamespaceProperties properties)
A complex type that contains information that's specific to the type of the namespace.
|
Namespace |
withServiceCount(Integer serviceCount)
The number of services that are associated with the namespace.
|
Namespace |
withType(NamespaceType type)
The type of the namespace.
|
Namespace |
withType(String type)
The type of the namespace.
|
public void setId(String id)
The ID of a namespace.
id
- The ID of a namespace.public String getId()
The ID of a namespace.
public Namespace withId(String id)
The ID of a namespace.
id
- The ID of a namespace.public void setArn(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.public String getArn()
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace when you create it.
public Namespace withArn(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.public void setName(String name)
The name of the namespace, such as example.com
.
name
- The name of the namespace, such as example.com
.public String getName()
The name of the namespace, such as example.com
.
example.com
.public Namespace withName(String name)
The name of the namespace, such as example.com
.
name
- The name of the namespace, such as example.com
.public void setType(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
public String getType()
The type of the namespace. Valid values are DNS_PUBLIC
and DNS_PRIVATE
.
DNS_PUBLIC
and DNS_PRIVATE
.NamespaceType
public Namespace withType(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
public Namespace withType(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
public void setDescription(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.public String getDescription()
The description that you specify for the namespace when you create it.
public Namespace withDescription(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.public void setServiceCount(Integer serviceCount)
The number of services that are associated with the namespace.
serviceCount
- The number of services that are associated with the namespace.public Integer getServiceCount()
The number of services that are associated with the namespace.
public Namespace withServiceCount(Integer serviceCount)
The number of services that are associated with the namespace.
serviceCount
- The number of services that are associated with the namespace.public void setProperties(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.public NamespaceProperties getProperties()
A complex type that contains information that's specific to the type of the namespace.
public Namespace withProperties(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.public void setCreateDate(Date 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).public Date getCreateDate()
The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC).
public Namespace withCreateDate(Date 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).public void setCreatorRequestId(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.public String getCreatorRequestId()
An optional parameter that you can use to resolve concurrent creation requests. CreatorRequestId
helps to determine if a specific client owns the namespace.
CreatorRequestId
helps to determine if a specific client owns the namespace.public Namespace withCreatorRequestId(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.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.