@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 actions possible from the view
|
String |
getInputSchema()
The schema representing the input data that the view template must be supplied 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 actions possible from the view
|
void |
setInputSchema(String inputSchema)
The schema representing the input data that the view template must be supplied 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 actions possible from the view
|
ViewContent |
withActions(String... actions)
A list of actions possible from the view
|
ViewContent |
withInputSchema(String inputSchema)
The schema representing the input data that the view template must be supplied to render.
|
ViewContent |
withTemplate(String template)
The view template representing the structure of the view.
|
public void setInputSchema(String inputSchema)
The schema representing the input data that the view template must be supplied to render.
inputSchema
- The schema representing the input data that the view template must be supplied to render.public String getInputSchema()
The schema representing the input data that the view template must be supplied to render.
public ViewContent withInputSchema(String inputSchema)
The schema representing the input data that the view template must be supplied to render.
inputSchema
- The schema representing the input data that the view template must be supplied 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 actions possible from the view
public void setActions(Collection<String> actions)
A list of actions possible from the view
actions
- A list of actions possible from the viewpublic ViewContent withActions(String... actions)
A list of actions possible 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 actions possible from the viewpublic ViewContent withActions(Collection<String> actions)
A list of actions possible from the view
actions
- A list of actions possible from the viewpublic 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.