@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class View extends Object implements Serializable, Cloneable, StructuredPojo
A view resource object. Contains metadata and content necessary to render the view.
Constructor and Description |
---|
View() |
Modifier and Type | Method and Description |
---|---|
View |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
View |
clearTagsEntries()
Removes all the entries added into Tags.
|
View |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the view.
|
ViewContent |
getContent()
View content containing all content necessary to render a view except for runtime input data.
|
Date |
getCreatedTime()
The timestamp of when the view was created.
|
String |
getDescription()
The description of the view.
|
String |
getId()
The identifier of the view.
|
Date |
getLastModifiedTime()
Latest timestamp of the
UpdateViewContent or CreateViewVersion operations. |
String |
getName()
The name of the view.
|
String |
getStatus()
Indicates the view status as either
SAVED or PUBLISHED . |
Map<String,String> |
getTags()
The tags associated with the view resource (not specific to view version).
|
String |
getType()
The type of the view -
CUSTOMER_MANAGED . |
Integer |
getVersion()
Current version of the view.
|
String |
getVersionDescription()
The description of the version.
|
String |
getViewContentSha256()
Indicates the checksum value of the latest published view content.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the view.
|
void |
setContent(ViewContent content)
View content containing all content necessary to render a view except for runtime input data.
|
void |
setCreatedTime(Date createdTime)
The timestamp of when the view was created.
|
void |
setDescription(String description)
The description of the view.
|
void |
setId(String id)
The identifier of the view.
|
void |
setLastModifiedTime(Date lastModifiedTime)
Latest timestamp of the
UpdateViewContent or CreateViewVersion operations. |
void |
setName(String name)
The name of the view.
|
void |
setStatus(String status)
Indicates the view status as either
SAVED or PUBLISHED . |
void |
setTags(Map<String,String> tags)
The tags associated with the view resource (not specific to view version).
|
void |
setType(String type)
The type of the view -
CUSTOMER_MANAGED . |
void |
setVersion(Integer version)
Current version of the view.
|
void |
setVersionDescription(String versionDescription)
The description of the version.
|
void |
setViewContentSha256(String viewContentSha256)
Indicates the checksum value of the latest published view content.
|
String |
toString()
Returns a string representation of this object.
|
View |
withArn(String arn)
The Amazon Resource Name (ARN) of the view.
|
View |
withContent(ViewContent content)
View content containing all content necessary to render a view except for runtime input data.
|
View |
withCreatedTime(Date createdTime)
The timestamp of when the view was created.
|
View |
withDescription(String description)
The description of the view.
|
View |
withId(String id)
The identifier of the view.
|
View |
withLastModifiedTime(Date lastModifiedTime)
Latest timestamp of the
UpdateViewContent or CreateViewVersion operations. |
View |
withName(String name)
The name of the view.
|
View |
withStatus(String status)
Indicates the view status as either
SAVED or PUBLISHED . |
View |
withStatus(ViewStatus status)
Indicates the view status as either
SAVED or PUBLISHED . |
View |
withTags(Map<String,String> tags)
The tags associated with the view resource (not specific to view version).
|
View |
withType(String type)
The type of the view -
CUSTOMER_MANAGED . |
View |
withType(ViewType type)
The type of the view -
CUSTOMER_MANAGED . |
View |
withVersion(Integer version)
Current version of the view.
|
View |
withVersionDescription(String versionDescription)
The description of the version.
|
View |
withViewContentSha256(String viewContentSha256)
Indicates the checksum value of the latest published view content.
|
public void setId(String id)
The identifier of the view.
id
- The identifier of the view.public String getId()
The identifier of the view.
public View withId(String id)
The identifier of the view.
id
- The identifier of the view.public void setArn(String arn)
The Amazon Resource Name (ARN) of the view.
arn
- The Amazon Resource Name (ARN) of the view.public String getArn()
The Amazon Resource Name (ARN) of the view.
public View withArn(String arn)
The Amazon Resource Name (ARN) of the view.
arn
- The Amazon Resource Name (ARN) of the view.public void setName(String name)
The name of the view.
name
- The name of the view.public String getName()
The name of the view.
public View withName(String name)
The name of the view.
name
- The name of the view.public void setStatus(String status)
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
status
- Indicates the view status as either SAVED
or PUBLISHED
. The
PUBLISHED
status will initiate validation on the content.ViewStatus
public String getStatus()
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
SAVED
or PUBLISHED
. The
PUBLISHED
status will initiate validation on the content.ViewStatus
public View withStatus(String status)
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
status
- Indicates the view status as either SAVED
or PUBLISHED
. The
PUBLISHED
status will initiate validation on the content.ViewStatus
public View withStatus(ViewStatus status)
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
status
- Indicates the view status as either SAVED
or PUBLISHED
. The
PUBLISHED
status will initiate validation on the content.ViewStatus
public void setType(String type)
The type of the view - CUSTOMER_MANAGED
.
type
- The type of the view - CUSTOMER_MANAGED
.ViewType
public String getType()
The type of the view - CUSTOMER_MANAGED
.
CUSTOMER_MANAGED
.ViewType
public View withType(String type)
The type of the view - CUSTOMER_MANAGED
.
type
- The type of the view - CUSTOMER_MANAGED
.ViewType
public View withType(ViewType type)
The type of the view - CUSTOMER_MANAGED
.
type
- The type of the view - CUSTOMER_MANAGED
.ViewType
public void setDescription(String description)
The description of the view.
description
- The description of the view.public String getDescription()
The description of the view.
public View withDescription(String description)
The description of the view.
description
- The description of the view.public void setVersion(Integer version)
Current version of the view.
version
- Current version of the view.public Integer getVersion()
Current version of the view.
public View withVersion(Integer version)
Current version of the view.
version
- Current version of the view.public void setVersionDescription(String versionDescription)
The description of the version.
versionDescription
- The description of the version.public String getVersionDescription()
The description of the version.
public View withVersionDescription(String versionDescription)
The description of the version.
versionDescription
- The description of the version.public void setContent(ViewContent content)
View content containing all content necessary to render a view except for runtime input data.
content
- View content containing all content necessary to render a view except for runtime input data.public ViewContent getContent()
View content containing all content necessary to render a view except for runtime input data.
public View withContent(ViewContent content)
View content containing all content necessary to render a view except for runtime input data.
content
- View content containing all content necessary to render a view except for runtime input data.public Map<String,String> getTags()
The tags associated with the view resource (not specific to view version).
public void setTags(Map<String,String> tags)
The tags associated with the view resource (not specific to view version).
tags
- The tags associated with the view resource (not specific to view version).public View withTags(Map<String,String> tags)
The tags associated with the view resource (not specific to view version).
tags
- The tags associated with the view resource (not specific to view version).public View clearTagsEntries()
public void setCreatedTime(Date createdTime)
The timestamp of when the view was created.
createdTime
- The timestamp of when the view was created.public Date getCreatedTime()
The timestamp of when the view was created.
public View withCreatedTime(Date createdTime)
The timestamp of when the view was created.
createdTime
- The timestamp of when the view was created.public void setLastModifiedTime(Date lastModifiedTime)
Latest timestamp of the UpdateViewContent
or CreateViewVersion
operations.
lastModifiedTime
- Latest timestamp of the UpdateViewContent
or CreateViewVersion
operations.public Date getLastModifiedTime()
Latest timestamp of the UpdateViewContent
or CreateViewVersion
operations.
UpdateViewContent
or CreateViewVersion
operations.public View withLastModifiedTime(Date lastModifiedTime)
Latest timestamp of the UpdateViewContent
or CreateViewVersion
operations.
lastModifiedTime
- Latest timestamp of the UpdateViewContent
or CreateViewVersion
operations.public void setViewContentSha256(String viewContentSha256)
Indicates the checksum value of the latest published view content.
viewContentSha256
- Indicates the checksum value of the latest published view content.public String getViewContentSha256()
Indicates the checksum value of the latest published view content.
public View withViewContentSha256(String viewContentSha256)
Indicates the checksum value of the latest published view content.
viewContentSha256
- Indicates the checksum value of the latest published view content.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.