@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MaintenanceWindowLambdaParameters extends Object implements Serializable, Cloneable, StructuredPojo
The parameters for a LAMBDA task type.
Constructor and Description |
---|
MaintenanceWindowLambdaParameters() |
Modifier and Type | Method and Description |
---|---|
MaintenanceWindowLambdaParameters |
clone() |
boolean |
equals(Object obj) |
String |
getClientContext()
Pass client-specific information to the Lambda function that you are invoking.
|
ByteBuffer |
getPayload()
JSON to provide to your Lambda function as input.
|
String |
getQualifier()
(Optional) Specify a Lambda function version or alias name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientContext(String clientContext)
Pass client-specific information to the Lambda function that you are invoking.
|
void |
setPayload(ByteBuffer payload)
JSON to provide to your Lambda function as input.
|
void |
setPayload(String payload)
JSON to provide to your Lambda function as input.
|
void |
setQualifier(String qualifier)
(Optional) Specify a Lambda function version or alias name.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
MaintenanceWindowLambdaParameters |
withClientContext(String clientContext)
Pass client-specific information to the Lambda function that you are invoking.
|
MaintenanceWindowLambdaParameters |
withPayload(ByteBuffer payload)
JSON to provide to your Lambda function as input.
|
MaintenanceWindowLambdaParameters |
withPayload(String payload)
JSON to provide to your Lambda function as input.
|
MaintenanceWindowLambdaParameters |
withQualifier(String qualifier)
(Optional) Specify a Lambda function version or alias name.
|
public void setClientContext(String clientContext)
Pass client-specific information to the Lambda function that you are invoking. You can then process the client information in your Lambda function as you choose through the context variable.
clientContext
- Pass client-specific information to the Lambda function that you are invoking. You can then process the
client information in your Lambda function as you choose through the context variable.public String getClientContext()
Pass client-specific information to the Lambda function that you are invoking. You can then process the client information in your Lambda function as you choose through the context variable.
public MaintenanceWindowLambdaParameters withClientContext(String clientContext)
Pass client-specific information to the Lambda function that you are invoking. You can then process the client information in your Lambda function as you choose through the context variable.
clientContext
- Pass client-specific information to the Lambda function that you are invoking. You can then process the
client information in your Lambda function as you choose through the context variable.public void setQualifier(String qualifier)
(Optional) Specify a Lambda function version or alias name. If you specify a function version, the action uses the qualified function ARN to invoke a specific Lambda function. If you specify an alias name, the action uses the alias ARN to invoke the Lambda function version to which the alias points.
qualifier
- (Optional) Specify a Lambda function version or alias name. If you specify a function version, the action
uses the qualified function ARN to invoke a specific Lambda function. If you specify an alias name, the
action uses the alias ARN to invoke the Lambda function version to which the alias points.public String getQualifier()
(Optional) Specify a Lambda function version or alias name. If you specify a function version, the action uses the qualified function ARN to invoke a specific Lambda function. If you specify an alias name, the action uses the alias ARN to invoke the Lambda function version to which the alias points.
public MaintenanceWindowLambdaParameters withQualifier(String qualifier)
(Optional) Specify a Lambda function version or alias name. If you specify a function version, the action uses the qualified function ARN to invoke a specific Lambda function. If you specify an alias name, the action uses the alias ARN to invoke the Lambda function version to which the alias points.
qualifier
- (Optional) Specify a Lambda function version or alias name. If you specify a function version, the action
uses the qualified function ARN to invoke a specific Lambda function. If you specify an alias name, the
action uses the alias ARN to invoke the Lambda function version to which the alias points.public void setPayload(ByteBuffer payload)
JSON to provide to your Lambda function as input.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
payload
- JSON to provide to your Lambda function as input.public ByteBuffer getPayload()
JSON to provide to your Lambda function as input.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
public MaintenanceWindowLambdaParameters withPayload(ByteBuffer payload)
JSON to provide to your Lambda function as input.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
payload
- JSON to provide to your Lambda function as input.public void setPayload(String payload)
JSON to provide to your Lambda function as input.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
payload
- JSON to provide to your Lambda function as input.public MaintenanceWindowLambdaParameters withPayload(String payload)
JSON to provide to your Lambda function as input.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
payload
- JSON to provide to your Lambda function as input.public String toString()
toString
in class Object
Object.toString()
public MaintenanceWindowLambdaParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.