@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.
For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.
LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to
contain logs, instead use the OutputS3BucketName and OutputS3KeyPrefix options in the
TaskInvocationParameters structure. For information about how Amazon Web Services Systems Manager
handles these options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, instead use
the Parameters option in the TaskInvocationParameters structure. For information about how
Systems Manager handles these options for the supported maintenance window task types, see
MaintenanceWindowTaskInvocationParameters.
For Lambda tasks, Systems Manager ignores any values specified for TaskParameters and LoggingInfo.
| 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 an 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 an Lambda function version or alias name.
|
String |
toString()
Returns a string representation of this object.
|
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 an 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 an Lambda function version or alias name. If you specify a function version, the operation uses the qualified function Amazon Resource Name (ARN) to invoke a specific Lambda function. If you specify an alias name, the operation uses the alias ARN to invoke the Lambda function version to which the alias points.
qualifier - (Optional) Specify an Lambda function version or alias name. If you specify a function version, the
operation uses the qualified function Amazon Resource Name (ARN) to invoke a specific Lambda function. If
you specify an alias name, the operation uses the alias ARN to invoke the Lambda function version to which
the alias points.public String getQualifier()
(Optional) Specify an Lambda function version or alias name. If you specify a function version, the operation uses the qualified function Amazon Resource Name (ARN) to invoke a specific Lambda function. If you specify an alias name, the operation uses the alias ARN to invoke the Lambda function version to which the alias points.
public MaintenanceWindowLambdaParameters withQualifier(String qualifier)
(Optional) Specify an Lambda function version or alias name. If you specify a function version, the operation uses the qualified function Amazon Resource Name (ARN) to invoke a specific Lambda function. If you specify an alias name, the operation uses the alias ARN to invoke the Lambda function version to which the alias points.
qualifier - (Optional) Specify an Lambda function version or alias name. If you specify a function version, the
operation uses the qualified function Amazon Resource Name (ARN) to invoke a specific Lambda function. If
you specify an alias name, the operation 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.
ByteBuffers 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 ObjectObject.toString()public MaintenanceWindowLambdaParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.