@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FunctionRequest extends Object implements Serializable, Cloneable, StructuredPojo
The function request body.
Constructor and Description |
---|
FunctionRequest() |
Modifier and Type | Method and Description |
---|---|
FunctionRequest |
clone() |
boolean |
equals(Object obj) |
DataConnector |
getImplementedBy()
The data connector.
|
List<String> |
getRequiredProperties()
The required properties of the function.
|
String |
getScope()
The scope of the function.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setImplementedBy(DataConnector implementedBy)
The data connector.
|
void |
setRequiredProperties(Collection<String> requiredProperties)
The required properties of the function.
|
void |
setScope(String scope)
The scope of the function.
|
String |
toString()
Returns a string representation of this object.
|
FunctionRequest |
withImplementedBy(DataConnector implementedBy)
The data connector.
|
FunctionRequest |
withRequiredProperties(Collection<String> requiredProperties)
The required properties of the function.
|
FunctionRequest |
withRequiredProperties(String... requiredProperties)
The required properties of the function.
|
FunctionRequest |
withScope(Scope scope)
The scope of the function.
|
FunctionRequest |
withScope(String scope)
The scope of the function.
|
public List<String> getRequiredProperties()
The required properties of the function.
public void setRequiredProperties(Collection<String> requiredProperties)
The required properties of the function.
requiredProperties
- The required properties of the function.public FunctionRequest withRequiredProperties(String... requiredProperties)
The required properties of the function.
NOTE: This method appends the values to the existing list (if any). Use
setRequiredProperties(java.util.Collection)
or withRequiredProperties(java.util.Collection)
if
you want to override the existing values.
requiredProperties
- The required properties of the function.public FunctionRequest withRequiredProperties(Collection<String> requiredProperties)
The required properties of the function.
requiredProperties
- The required properties of the function.public void setScope(String scope)
The scope of the function.
scope
- The scope of the function.Scope
public String getScope()
The scope of the function.
Scope
public FunctionRequest withScope(String scope)
The scope of the function.
scope
- The scope of the function.Scope
public FunctionRequest withScope(Scope scope)
The scope of the function.
scope
- The scope of the function.Scope
public void setImplementedBy(DataConnector implementedBy)
The data connector.
implementedBy
- The data connector.public DataConnector getImplementedBy()
The data connector.
public FunctionRequest withImplementedBy(DataConnector implementedBy)
The data connector.
implementedBy
- The data connector.public String toString()
toString
in class Object
Object.toString()
public FunctionRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.