@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ViewContent extends Object implements Serializable, Cloneable, StructuredPojo
View content containing all content necessary to render a view except for runtime input data.
Constructor and Description |
---|
ViewContent() |
Modifier and Type | Method and Description |
---|---|
ViewContent |
clone() |
boolean |
equals(Object obj) |
List<String> |
getActions()
A list of possible actions from the view.
|
String |
getInputSchema()
The data schema matching data that the view template must be provided to render.
|
String |
getTemplate()
The view template representing the structure of the view.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActions(Collection<String> actions)
A list of possible actions from the view.
|
void |
setInputSchema(String inputSchema)
The data schema matching data that the view template must be provided to render.
|
void |
setTemplate(String template)
The view template representing the structure of the view.
|
String |
toString()
Returns a string representation of this object.
|
ViewContent |
withActions(Collection<String> actions)
A list of possible actions from the view.
|
ViewContent |
withActions(String... actions)
A list of possible actions from the view.
|
ViewContent |
withInputSchema(String inputSchema)
The data schema matching data that the view template must be provided to render.
|
ViewContent |
withTemplate(String template)
The view template representing the structure of the view.
|
public void setInputSchema(String inputSchema)
The data schema matching data that the view template must be provided to render.
inputSchema
- The data schema matching data that the view template must be provided to render.public String getInputSchema()
The data schema matching data that the view template must be provided to render.
public ViewContent withInputSchema(String inputSchema)
The data schema matching data that the view template must be provided to render.
inputSchema
- The data schema matching data that the view template must be provided to render.public void setTemplate(String template)
The view template representing the structure of the view.
template
- The view template representing the structure of the view.public String getTemplate()
The view template representing the structure of the view.
public ViewContent withTemplate(String template)
The view template representing the structure of the view.
template
- The view template representing the structure of the view.public List<String> getActions()
A list of possible actions from the view.
public void setActions(Collection<String> actions)
A list of possible actions from the view.
actions
- A list of possible actions from the view.public ViewContent withActions(String... actions)
A list of possible actions from the view.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection)
or withActions(java.util.Collection)
if you want to override
the existing values.
actions
- A list of possible actions from the view.public ViewContent withActions(Collection<String> actions)
A list of possible actions from the view.
actions
- A list of possible actions from the view.public String toString()
toString
in class Object
Object.toString()
public ViewContent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.