@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 Cloud Map 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()
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running an operation twice.
|
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 Cloud Map 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)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running an operation twice.
|
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.
|
Namespace |
withArn(String arn)
The Amazon Resource Name (ARN) that Cloud Map 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)
A unique string that identifies the request and that allows failed requests to be retried without the risk of
running an operation twice.
|
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 Cloud Map assigns to the namespace when you create it.
arn
- The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.public String getArn()
The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.
public Namespace withArn(String arn)
The Amazon Resource Name (ARN) that Cloud Map assigns to the namespace when you create it.
arn
- The Amazon Resource Name (ARN) that Cloud Map 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. The methods for discovering instances depends on the value that you specify:
Instances can be discovered only programmatically, using the Cloud Map DiscoverInstances
API.
Instances can be discovered using public DNS queries and using the DiscoverInstances
API.
Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances
API.
type
- The type of the namespace. The methods for discovering instances depends on the value that you
specify:
Instances can be discovered only programmatically, using the Cloud Map DiscoverInstances
API.
Instances can be discovered using public DNS queries and using the DiscoverInstances
API.
Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances
API.
NamespaceType
public String getType()
The type of the namespace. The methods for discovering instances depends on the value that you specify:
Instances can be discovered only programmatically, using the Cloud Map DiscoverInstances
API.
Instances can be discovered using public DNS queries and using the DiscoverInstances
API.
Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances
API.
Instances can be discovered only programmatically, using the Cloud Map DiscoverInstances
API.
Instances can be discovered using public DNS queries and using the DiscoverInstances
API.
Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances
API.
NamespaceType
public Namespace withType(String type)
The type of the namespace. The methods for discovering instances depends on the value that you specify:
Instances can be discovered only programmatically, using the Cloud Map DiscoverInstances
API.
Instances can be discovered using public DNS queries and using the DiscoverInstances
API.
Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances
API.
type
- The type of the namespace. The methods for discovering instances depends on the value that you
specify:
Instances can be discovered only programmatically, using the Cloud Map DiscoverInstances
API.
Instances can be discovered using public DNS queries and using the DiscoverInstances
API.
Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances
API.
NamespaceType
public Namespace withType(NamespaceType type)
The type of the namespace. The methods for discovering instances depends on the value that you specify:
Instances can be discovered only programmatically, using the Cloud Map DiscoverInstances
API.
Instances can be discovered using public DNS queries and using the DiscoverInstances
API.
Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances
API.
type
- The type of the namespace. The methods for discovering instances depends on the value that you
specify:
Instances can be discovered only programmatically, using the Cloud Map DiscoverInstances
API.
Instances can be discovered using public DNS queries and using the DiscoverInstances
API.
Instances can be discovered using DNS queries in VPCs and using the DiscoverInstances
API.
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). The value
of CreateDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
createDate
- The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC).
The value of CreateDate
is accurate to milliseconds. For example, the value
1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public Date getCreateDate()
The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC). The value
of CreateDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
CreateDate
is accurate to milliseconds. For example, the value
1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public Namespace withCreateDate(Date createDate)
The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC). The value
of CreateDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
createDate
- The date that the namespace was created, in Unix date/time format and Coordinated Universal Time (UTC).
The value of CreateDate
is accurate to milliseconds. For example, the value
1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public void setCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of running an operation twice.
creatorRequestId
- A unique string that identifies the request and that allows failed requests to be retried without the risk
of running an operation twice.public String getCreatorRequestId()
A unique string that identifies the request and that allows failed requests to be retried without the risk of running an operation twice.
public Namespace withCreatorRequestId(String creatorRequestId)
A unique string that identifies the request and that allows failed requests to be retried without the risk of running an operation twice.
creatorRequestId
- A unique string that identifies the request and that allows failed requests to be retried without the risk
of running an operation twice.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.