Class CfnResourcePolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesis.CfnResourcePolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourcePolicyPropsMixin>
- Enclosing class:
CfnResourcePolicyPropsMixin
@Stability(Stable)
public static final class CfnResourcePolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourcePolicyPropsMixin>
A fluent builder for
CfnResourcePolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) resourceArn(String resourceArn) Returns the Amazon Resource Name (ARN) of the resource-based policy.resourceArn(IStreamConsumerRef resourceArn) Returns the Amazon Resource Name (ARN) of the resource-based policy.resourceArn(IStreamRef resourceArn) Returns the Amazon Resource Name (ARN) of the resource-based policy.resourcePolicy(Object resourcePolicy) This is the description for the resource policy.
-
Method Details
-
create
@Stability(Stable) public static CfnResourcePolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnResourcePolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnResourcePolicyPropsMixin.Builder.
-
resourceArn
Returns the Amazon Resource Name (ARN) of the resource-based policy.- Parameters:
resourceArn- Returns the Amazon Resource Name (ARN) of the resource-based policy. This parameter is required.- Returns:
this- See Also:
-
resourceArn
Returns the Amazon Resource Name (ARN) of the resource-based policy.- Parameters:
resourceArn- Returns the Amazon Resource Name (ARN) of the resource-based policy. This parameter is required.- Returns:
this- See Also:
-
resourceArn
@Stability(Stable) public CfnResourcePolicyPropsMixin.Builder resourceArn(IStreamConsumerRef resourceArn) Returns the Amazon Resource Name (ARN) of the resource-based policy.- Parameters:
resourceArn- Returns the Amazon Resource Name (ARN) of the resource-based policy. This parameter is required.- Returns:
this- See Also:
-
resourcePolicy
This is the description for the resource policy.- Parameters:
resourcePolicy- This is the description for the resource policy. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourcePolicyPropsMixin>- Returns:
- a newly built instance of
CfnResourcePolicyPropsMixin.
-