Class GetModelTemplateResult
- java.lang.Object
-
- com.amazonaws.services.apigateway.model.GetModelTemplateResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetModelTemplateResult extends Object implements Serializable, Cloneable
Represents a mapping template used to transform a payload.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetModelTemplateResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetModelTemplateResult
clone()
boolean
equals(Object obj)
String
getValue()
The Apache Velocity Template Language (VTL) template content used for the template resource.int
hashCode()
void
setValue(String value)
The Apache Velocity Template Language (VTL) template content used for the template resource.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetModelTemplateResult
withValue(String value)
The Apache Velocity Template Language (VTL) template content used for the template resource.
-
-
-
Method Detail
-
setValue
public void setValue(String value)
The Apache Velocity Template Language (VTL) template content used for the template resource.
- Parameters:
value
- The Apache Velocity Template Language (VTL) template content used for the template resource.
-
getValue
public String getValue()
The Apache Velocity Template Language (VTL) template content used for the template resource.
- Returns:
- The Apache Velocity Template Language (VTL) template content used for the template resource.
-
withValue
public GetModelTemplateResult withValue(String value)
The Apache Velocity Template Language (VTL) template content used for the template resource.
- Parameters:
value
- The Apache Velocity Template Language (VTL) template content used for the template resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetModelTemplateResult clone()
-
-