Class CfnScraperPropsMixin.RoleConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.aps.CfnScraperPropsMixin.RoleConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnScraperPropsMixin.RoleConfigurationProperty>
- Enclosing interface:
CfnScraperPropsMixin.RoleConfigurationProperty
@Stability(Stable)
public static final class CfnScraperPropsMixin.RoleConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnScraperPropsMixin.RoleConfigurationProperty>
A builder for
CfnScraperPropsMixin.RoleConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.sourceRoleArn(String sourceRoleArn) Sets the value ofCfnScraperPropsMixin.RoleConfigurationProperty.getSourceRoleArn()targetRoleArn(String targetRoleArn) Sets the value ofCfnScraperPropsMixin.RoleConfigurationProperty.getTargetRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceRoleArn
@Stability(Stable) public CfnScraperPropsMixin.RoleConfigurationProperty.Builder sourceRoleArn(String sourceRoleArn) Sets the value ofCfnScraperPropsMixin.RoleConfigurationProperty.getSourceRoleArn()- Parameters:
sourceRoleArn- The ARN of the source role.- Returns:
this
-
targetRoleArn
@Stability(Stable) public CfnScraperPropsMixin.RoleConfigurationProperty.Builder targetRoleArn(String targetRoleArn) Sets the value ofCfnScraperPropsMixin.RoleConfigurationProperty.getTargetRoleArn()- Parameters:
targetRoleArn- The ARN of the target role.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnScraperPropsMixin.RoleConfigurationProperty>- Returns:
- a new instance of
CfnScraperPropsMixin.RoleConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-