@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) |
Date |
getCreatedTime()
Timestamp at which the resource was created.
|
Boolean |
getDeleted()
Denotes whether or not the resource has been deleted.
|
String |
getDescription()
Description of the field.
|
String |
getFieldArn()
The Amazon Resource Name (ARN) of the field.
|
String |
getFieldId()
Unique identifier of the field.
|
Date |
getLastModifiedTime()
Timestamp at which the resource was created or last modified.
|
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() |
Boolean |
isDeleted()
Denotes whether or not the resource has been deleted.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedTime(Date createdTime)
Timestamp at which the resource was created.
|
void |
setDeleted(Boolean deleted)
Denotes whether or not the resource has been deleted.
|
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 |
setLastModifiedTime(Date lastModifiedTime)
Timestamp at which the resource was created or last modified.
|
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 |
withCreatedTime(Date createdTime)
Timestamp at which the resource was created.
|
GetFieldResponse |
withDeleted(Boolean deleted)
Denotes whether or not the resource has been deleted.
|
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 |
withLastModifiedTime(Date lastModifiedTime)
Timestamp at which the resource was created or last modified.
|
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 setCreatedTime(Date createdTime)
Timestamp at which the resource was created.
createdTime
- Timestamp at which the resource was created.public Date getCreatedTime()
Timestamp at which the resource was created.
public GetFieldResponse withCreatedTime(Date createdTime)
Timestamp at which the resource was created.
createdTime
- Timestamp at which the resource was created.public void setDeleted(Boolean deleted)
Denotes whether or not the resource has been deleted.
deleted
- Denotes whether or not the resource has been deleted.public Boolean getDeleted()
Denotes whether or not the resource has been deleted.
public GetFieldResponse withDeleted(Boolean deleted)
Denotes whether or not the resource has been deleted.
deleted
- Denotes whether or not the resource has been deleted.public Boolean isDeleted()
Denotes whether or not the resource has been deleted.
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 setLastModifiedTime(Date lastModifiedTime)
Timestamp at which the resource was created or last modified.
lastModifiedTime
- Timestamp at which the resource was created or last modified.public Date getLastModifiedTime()
Timestamp at which the resource was created or last modified.
public GetFieldResponse withLastModifiedTime(Date lastModifiedTime)
Timestamp at which the resource was created or last modified.
lastModifiedTime
- Timestamp at which the resource was created or last modified.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.