Class CfnDeliveryDestinationPropsMixin.DestinationPolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.logs.CfnDeliveryDestinationPropsMixin.DestinationPolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryDestinationPropsMixin.DestinationPolicyProperty>
- Enclosing interface:
CfnDeliveryDestinationPropsMixin.DestinationPolicyProperty
@Stability(Stable)
public static final class CfnDeliveryDestinationPropsMixin.DestinationPolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryDestinationPropsMixin.DestinationPolicyProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deliveryDestinationName(String deliveryDestinationName) deliveryDestinationPolicy(Object deliveryDestinationPolicy)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deliveryDestinationName
@Stability(Stable) public CfnDeliveryDestinationPropsMixin.DestinationPolicyProperty.Builder deliveryDestinationName(String deliveryDestinationName) Sets the value ofCfnDeliveryDestinationPropsMixin.DestinationPolicyProperty.getDeliveryDestinationName()- Parameters:
deliveryDestinationName- A name for an existing destination.- Returns:
this
-
deliveryDestinationPolicy
@Stability(Stable) public CfnDeliveryDestinationPropsMixin.DestinationPolicyProperty.Builder deliveryDestinationPolicy(Object deliveryDestinationPolicy) Sets the value ofCfnDeliveryDestinationPropsMixin.DestinationPolicyProperty.getDeliveryDestinationPolicy()- Parameters:
deliveryDestinationPolicy- Creates or updates an access policy associated with an existing destination. An access policy is an IAM policy document that is used to authorize claims to register a subscription filter against a given destination.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryDestinationPropsMixin.DestinationPolicyProperty>- Returns:
- a new instance of
CfnDeliveryDestinationPropsMixin.DestinationPolicyProperty - Throws:
NullPointerException- if any required attribute was not provided
-