@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.
|
KeyValueStoreAssociations |
getKeyValueStoreAssociations()
The configuration for the Key Value Store associations.
|
String |
getRuntime()
The function's runtime environment version.
|
int |
hashCode() |
void |
setComment(String comment)
A comment to describe the function.
|
void |
setKeyValueStoreAssociations(KeyValueStoreAssociations keyValueStoreAssociations)
The configuration for the Key Value Store associations.
|
void |
setRuntime(String runtime)
The function's runtime environment version.
|
String |
toString()
Returns a string representation of this object.
|
FunctionConfig |
withComment(String comment)
A comment to describe the function.
|
FunctionConfig |
withKeyValueStoreAssociations(KeyValueStoreAssociations keyValueStoreAssociations)
The configuration for the Key Value Store associations.
|
FunctionConfig |
withRuntime(FunctionRuntime runtime)
The function's runtime environment version.
|
FunctionConfig |
withRuntime(String runtime)
The function's runtime environment version.
|
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 version.
runtime
- The function's runtime environment version.FunctionRuntime
public String getRuntime()
The function's runtime environment version.
FunctionRuntime
public FunctionConfig withRuntime(String runtime)
The function's runtime environment version.
runtime
- The function's runtime environment version.FunctionRuntime
public FunctionConfig withRuntime(FunctionRuntime runtime)
The function's runtime environment version.
runtime
- The function's runtime environment version.FunctionRuntime
public void setKeyValueStoreAssociations(KeyValueStoreAssociations keyValueStoreAssociations)
The configuration for the Key Value Store associations.
keyValueStoreAssociations
- The configuration for the Key Value Store associations.public KeyValueStoreAssociations getKeyValueStoreAssociations()
The configuration for the Key Value Store associations.
public FunctionConfig withKeyValueStoreAssociations(KeyValueStoreAssociations keyValueStoreAssociations)
The configuration for the Key Value Store associations.
keyValueStoreAssociations
- The configuration for the Key Value Store associations.public String toString()
toString
in class Object
Object.toString()
public FunctionConfig clone()