Class CfnProvisioningTemplate.ProvisioningHookProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnProvisioningTemplate.ProvisioningHookProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProvisioningTemplate.ProvisioningHookProperty>
- Enclosing interface:
- CfnProvisioningTemplate.ProvisioningHookProperty
@Stability(Stable)
public static final class CfnProvisioningTemplate.ProvisioningHookProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProvisioningTemplate.ProvisioningHookProperty>
A builder for
CfnProvisioningTemplate.ProvisioningHookProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.payloadVersion
(String payloadVersion) Sets the value ofCfnProvisioningTemplate.ProvisioningHookProperty.getPayloadVersion()
Sets the value ofCfnProvisioningTemplate.ProvisioningHookProperty.getTargetArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
payloadVersion
@Stability(Stable) public CfnProvisioningTemplate.ProvisioningHookProperty.Builder payloadVersion(String payloadVersion) Sets the value ofCfnProvisioningTemplate.ProvisioningHookProperty.getPayloadVersion()
- Parameters:
payloadVersion
- The payload that was sent to the target function. The valid payload is"2020-04-01"
.- Returns:
this
-
targetArn
@Stability(Stable) public CfnProvisioningTemplate.ProvisioningHookProperty.Builder targetArn(String targetArn) Sets the value ofCfnProvisioningTemplate.ProvisioningHookProperty.getTargetArn()
- Parameters:
targetArn
- The ARN of the target function.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnProvisioningTemplate.ProvisioningHookProperty>
- Returns:
- a new instance of
CfnProvisioningTemplate.ProvisioningHookProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-