@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NamespaceSummary extends Object implements Serializable, Cloneable, StructuredPojo
A complex type that contains information about a namespace.
Constructor and Description |
---|
NamespaceSummary() |
Modifier and Type | Method and Description |
---|---|
NamespaceSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) that Route 53 assigns to the namespace when you create it.
|
String |
getId()
The ID of the namespace.
|
String |
getName()
The name of the namespace.
|
String |
getType()
The type of the namespace, either public or private.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) that Route 53 assigns to the namespace when you create it.
|
void |
setId(String id)
The ID of the namespace.
|
void |
setName(String name)
The name of the namespace.
|
void |
setType(String type)
The type of the namespace, either public or private.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
NamespaceSummary |
withArn(String arn)
The Amazon Resource Name (ARN) that Route 53 assigns to the namespace when you create it.
|
NamespaceSummary |
withId(String id)
The ID of the namespace.
|
NamespaceSummary |
withName(String name)
The name of the namespace.
|
NamespaceSummary |
withType(NamespaceType type)
The type of the namespace, either public or private.
|
NamespaceSummary |
withType(String type)
The type of the namespace, either public or private.
|
public void setId(String id)
The ID of the namespace.
id
- The ID of the namespace.public String getId()
The ID of the namespace.
public NamespaceSummary withId(String id)
The ID of the namespace.
id
- The ID of the namespace.public void setArn(String arn)
The Amazon Resource Name (ARN) that Route 53 assigns to the namespace when you create it.
arn
- The Amazon Resource Name (ARN) that Route 53 assigns to the namespace when you create it.public String getArn()
The Amazon Resource Name (ARN) that Route 53 assigns to the namespace when you create it.
public NamespaceSummary withArn(String arn)
The Amazon Resource Name (ARN) that Route 53 assigns to the namespace when you create it.
arn
- The Amazon Resource Name (ARN) that Route 53 assigns to the namespace when you create it.public void setName(String name)
The name of the namespace. When you create a namespace, Route 53 automatically creates a hosted zone that has the same name as the namespace.
name
- The name of the namespace. When you create a namespace, Route 53 automatically creates a hosted zone that
has the same name as the namespace.public String getName()
The name of the namespace. When you create a namespace, Route 53 automatically creates a hosted zone that has the same name as the namespace.
public NamespaceSummary withName(String name)
The name of the namespace. When you create a namespace, Route 53 automatically creates a hosted zone that has the same name as the namespace.
name
- The name of the namespace. When you create a namespace, Route 53 automatically creates a hosted zone that
has the same name as the namespace.public void setType(String type)
The type of the namespace, either public or private.
type
- The type of the namespace, either public or private.NamespaceType
public String getType()
The type of the namespace, either public or private.
NamespaceType
public NamespaceSummary withType(String type)
The type of the namespace, either public or private.
type
- The type of the namespace, either public or private.NamespaceType
public NamespaceSummary withType(NamespaceType type)
The type of the namespace, either public or private.
type
- The type of the namespace, either public or private.NamespaceType
public String toString()
toString
in class Object
Object.toString()
public NamespaceSummary clone()
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.