public class View
extends java.lang.Object
implements java.io.Serializable
A view resource object. Contains metadata and content necessary to render the view.
| Constructor and Description |
|---|
View() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.lang.String |
getId()
The identifier of the view.
|
java.lang.String |
getName()
The name of the view.
|
java.lang.Integer |
getVersion()
The current version of the view.
|
int |
hashCode() |
void |
setArn(java.lang.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 |
setId(java.lang.String id)
The identifier of the view.
|
void |
setName(java.lang.String name)
The name of the view.
|
void |
setVersion(java.lang.Integer version)
The current version of the view.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
View |
withArn(java.lang.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 |
withId(java.lang.String id)
The identifier of the view.
|
View |
withName(java.lang.String name)
The name of the view.
|
View |
withVersion(java.lang.Integer version)
The current version of the view.
|
public java.lang.String getId()
The identifier of the view.
Constraints:
Length: 1 - 500
Pattern: ^[a-zA-Z0-9\_\-:\/$]+$
The identifier of the view.
public void setId(java.lang.String id)
The identifier of the view.
Constraints:
Length: 1 - 500
Pattern: ^[a-zA-Z0-9\_\-:\/$]+$
id - The identifier of the view.
public View withId(java.lang.String id)
The identifier of the view.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 500
Pattern: ^[a-zA-Z0-9\_\-:\/$]+$
id - The identifier of the view.
public java.lang.String getArn()
The Amazon Resource Name (ARN) of the view.
The Amazon Resource Name (ARN) of the view.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the view.
arn - The Amazon Resource Name (ARN) of the view.
public View withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the view.
Returns a reference to this object so that method calls can be chained together.
arn - The Amazon Resource Name (ARN) of the view.
public java.lang.String getName()
The name of the view.
Constraints:
Length: 1 - 255
Pattern:
^([\p{L}\p{N}_.:\/=+\-@()']+[\p{L}\p{Z}\p{N}_.:\/=+\-@()']*)$
The name of the view.
public void setName(java.lang.String name)
The name of the view.
Constraints:
Length: 1 - 255
Pattern:
^([\p{L}\p{N}_.:\/=+\-@()']+[\p{L}\p{Z}\p{N}_.:\/=+\-@()']*)$
name - The name of the view.
public View withName(java.lang.String name)
The name of the view.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern:
^([\p{L}\p{N}_.:\/=+\-@()']+[\p{L}\p{Z}\p{N}_.:\/=+\-@()']*)$
name - The name of the view.
public java.lang.Integer getVersion()
The current version of the view.
The current version of the view.
public void setVersion(java.lang.Integer version)
The current version of the view.
version - The current version of the view.
public View withVersion(java.lang.Integer version)
The current version of the view.
Returns a reference to this object so that method calls can be chained together.
version - The current version of the view.
public ViewContent getContent()
View content containing all content necessary to render a view except for runtime input data.
View content containing all content necessary to render a view except for runtime input data.
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 View withContent(ViewContent content)
View content containing all content necessary to render a view except for runtime input data.
Returns a reference to this object so that method calls can be chained together.
content - View content containing all content necessary to render a view except for runtime input data.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object