@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FunctionConfig extends Object implements Serializable, Cloneable
Contains configuration information about a CloudFront function.
| Constructor and Description | 
|---|
| FunctionConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| FunctionConfig | clone() | 
| boolean | equals(Object obj) | 
| String | getComment()
 A comment to describe the function. | 
| String | getRuntime()
 The function’s runtime environment. | 
| int | hashCode() | 
| void | setComment(String comment)
 A comment to describe the function. | 
| void | setRuntime(String runtime)
 The function’s runtime environment. | 
| String | toString()Returns a string representation of this object. | 
| FunctionConfig | withComment(String comment)
 A comment to describe the function. | 
| FunctionConfig | withRuntime(FunctionRuntime runtime)
 The function’s runtime environment. | 
| FunctionConfig | withRuntime(String runtime)
 The function’s runtime environment. | 
public void setComment(String comment)
A comment to describe the function.
comment - A comment to describe the function.public String getComment()
A comment to describe the function.
public FunctionConfig withComment(String comment)
A comment to describe the function.
comment - A comment to describe the function.public void setRuntime(String runtime)
 The function’s runtime environment. The only valid value is cloudfront-js-1.0.
 
runtime - The function’s runtime environment. The only valid value is cloudfront-js-1.0.FunctionRuntimepublic String getRuntime()
 The function’s runtime environment. The only valid value is cloudfront-js-1.0.
 
cloudfront-js-1.0.FunctionRuntimepublic FunctionConfig withRuntime(String runtime)
 The function’s runtime environment. The only valid value is cloudfront-js-1.0.
 
runtime - The function’s runtime environment. The only valid value is cloudfront-js-1.0.FunctionRuntimepublic FunctionConfig withRuntime(FunctionRuntime runtime)
 The function’s runtime environment. The only valid value is cloudfront-js-1.0.
 
runtime - The function’s runtime environment. The only valid value is cloudfront-js-1.0.FunctionRuntimepublic String toString()
toString in class ObjectObject.toString()public FunctionConfig clone()