@Generated(value="software.amazon.awssdk:codegen") public class NamespaceSummary extends Object implements StructuredPojo, ToCopyableBuilder<NamespaceSummary.Builder,NamespaceSummary>
A complex type that contains information about a namespace.
Modifier and Type | Class and Description |
---|---|
static interface |
NamespaceSummary.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace when you create it.
|
static NamespaceSummary.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the namespace.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the namespace.
|
static Class<? extends NamespaceSummary.Builder> |
serializableBuilderClass() |
NamespaceSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
NamespaceType |
type()
The type of the namespace, either public or private.
|
String |
typeString()
The type of the namespace, either public or private.
|
copy
public String id()
The ID of the namespace.
public String arn()
The Amazon Resource Name (ARN) that Amazon Route 53 assigns to the namespace when you create it.
public String name()
The name of the namespace. When you create a namespace, Amazon Route 53 automatically creates a hosted zone that has the same name as the namespace.
public NamespaceType type()
The type of the namespace, either public or private.
If the service returns an enum value that is not available in the current SDK version, type
will return
NamespaceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
NamespaceType
public String typeString()
The type of the namespace, either public or private.
If the service returns an enum value that is not available in the current SDK version, type
will return
NamespaceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeString()
.
NamespaceType
public NamespaceSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NamespaceSummary.Builder,NamespaceSummary>
public static NamespaceSummary.Builder builder()
public static Class<? extends NamespaceSummary.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.