Class CfnTopicRule.SigV4AuthorizationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnTopicRule.SigV4AuthorizationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRule.SigV4AuthorizationProperty>
- Enclosing interface:
CfnTopicRule.SigV4AuthorizationProperty
@Stability(Stable)
public static final class CfnTopicRule.SigV4AuthorizationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRule.SigV4AuthorizationProperty>
A builder for
CfnTopicRule.SigV4AuthorizationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTopicRule.SigV4AuthorizationProperty.getRoleArn()
serviceName
(String serviceName) Sets the value ofCfnTopicRule.SigV4AuthorizationProperty.getServiceName()
signingRegion
(String signingRegion) Sets the value ofCfnTopicRule.SigV4AuthorizationProperty.getSigningRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
roleArn
Sets the value ofCfnTopicRule.SigV4AuthorizationProperty.getRoleArn()
- Parameters:
roleArn
- The ARN of the signing role. This parameter is required.- Returns:
this
-
serviceName
@Stability(Stable) public CfnTopicRule.SigV4AuthorizationProperty.Builder serviceName(String serviceName) Sets the value ofCfnTopicRule.SigV4AuthorizationProperty.getServiceName()
- Parameters:
serviceName
- The service name to use while signing with Sig V4. This parameter is required.- Returns:
this
-
signingRegion
@Stability(Stable) public CfnTopicRule.SigV4AuthorizationProperty.Builder signingRegion(String signingRegion) Sets the value ofCfnTopicRule.SigV4AuthorizationProperty.getSigningRegion()
- Parameters:
signingRegion
- The signing region. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopicRule.SigV4AuthorizationProperty>
- Returns:
- a new instance of
CfnTopicRule.SigV4AuthorizationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-