@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetFieldResponse extends Object implements Serializable, Cloneable, StructuredPojo
Object to store detailed field information.
Constructor and Description |
---|
GetFieldResponse() |
Modifier and Type | Method and Description |
---|---|
GetFieldResponse |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetFieldResponse |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetFieldResponse |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
Description of the field.
|
String |
getFieldArn()
The Amazon Resource Name (ARN) of the field.
|
String |
getFieldId()
Unique identifier of the field.
|
String |
getName()
Name of the field.
|
String |
getNamespace()
Namespace of the field.
|
Map<String,String> |
getTags()
A map of of key-value pairs that represent tags on a resource.
|
String |
getType()
Type of the field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
Description of the field.
|
void |
setFieldArn(String fieldArn)
The Amazon Resource Name (ARN) of the field.
|
void |
setFieldId(String fieldId)
Unique identifier of the field.
|
void |
setName(String name)
Name of the field.
|
void |
setNamespace(String namespace)
Namespace of the field.
|
void |
setTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource.
|
void |
setType(String type)
Type of the field.
|
String |
toString()
Returns a string representation of this object.
|
GetFieldResponse |
withDescription(String description)
Description of the field.
|
GetFieldResponse |
withFieldArn(String fieldArn)
The Amazon Resource Name (ARN) of the field.
|
GetFieldResponse |
withFieldId(String fieldId)
Unique identifier of the field.
|
GetFieldResponse |
withName(String name)
Name of the field.
|
GetFieldResponse |
withNamespace(FieldNamespace namespace)
Namespace of the field.
|
GetFieldResponse |
withNamespace(String namespace)
Namespace of the field.
|
GetFieldResponse |
withTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource.
|
GetFieldResponse |
withType(FieldType type)
Type of the field.
|
GetFieldResponse |
withType(String type)
Type of the field.
|
public void setDescription(String description)
Description of the field.
description
- Description of the field.public String getDescription()
Description of the field.
public GetFieldResponse withDescription(String description)
Description of the field.
description
- Description of the field.public void setFieldArn(String fieldArn)
The Amazon Resource Name (ARN) of the field.
fieldArn
- The Amazon Resource Name (ARN) of the field.public String getFieldArn()
The Amazon Resource Name (ARN) of the field.
public GetFieldResponse withFieldArn(String fieldArn)
The Amazon Resource Name (ARN) of the field.
fieldArn
- The Amazon Resource Name (ARN) of the field.public void setFieldId(String fieldId)
Unique identifier of the field.
fieldId
- Unique identifier of the field.public String getFieldId()
Unique identifier of the field.
public GetFieldResponse withFieldId(String fieldId)
Unique identifier of the field.
fieldId
- Unique identifier of the field.public void setName(String name)
Name of the field.
name
- Name of the field.public String getName()
Name of the field.
public GetFieldResponse withName(String name)
Name of the field.
name
- Name of the field.public void setNamespace(String namespace)
Namespace of the field.
namespace
- Namespace of the field.FieldNamespace
public String getNamespace()
Namespace of the field.
FieldNamespace
public GetFieldResponse withNamespace(String namespace)
Namespace of the field.
namespace
- Namespace of the field.FieldNamespace
public GetFieldResponse withNamespace(FieldNamespace namespace)
Namespace of the field.
namespace
- Namespace of the field.FieldNamespace
public Map<String,String> getTags()
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
public void setTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
tags
- A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or
control access for this resource.public GetFieldResponse withTags(Map<String,String> tags)
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
tags
- A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or
control access for this resource.public GetFieldResponse addTagsEntry(String key, String value)
public GetFieldResponse clearTagsEntries()
public void setType(String type)
Type of the field.
type
- Type of the field.FieldType
public GetFieldResponse withType(String type)
Type of the field.
type
- Type of the field.FieldType
public GetFieldResponse withType(FieldType type)
Type of the field.
type
- Type of the field.FieldType
public String toString()
toString
in class Object
Object.toString()
public GetFieldResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.