Class SqsQueueActionProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.SqsQueueActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SqsQueueActionProps>
- Enclosing interface:
- SqsQueueActionProps
@Stability(Experimental)
public static final class SqsQueueActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<SqsQueueActionProps>
A builder for
SqsQueueActionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCommonActionProps.getRole()
Sets the value ofSqsQueueActionProps.getUseBase64()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
useBase64
Sets the value ofSqsQueueActionProps.getUseBase64()
- Parameters:
useBase64
- Specifies whether to use Base64 encoding.- Returns:
this
-
role
Sets the value ofCommonActionProps.getRole()
- Parameters:
role
- The IAM role that allows access to AWS service.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SqsQueueActionProps>
- Returns:
- a new instance of
SqsQueueActionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-