Class DeliveryDestinationReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.logs.DeliveryDestinationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DeliveryDestinationReference>
- Enclosing interface:
DeliveryDestinationReference
@Stability(Stable)
public static final class DeliveryDestinationReference.Builder
extends Object
implements software.amazon.jsii.Builder<DeliveryDestinationReference>
A builder for
DeliveryDestinationReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.deliveryDestinationArn(String deliveryDestinationArn) Sets the value ofDeliveryDestinationReference.getDeliveryDestinationArn()deliveryDestinationName(String deliveryDestinationName) Sets the value ofDeliveryDestinationReference.getDeliveryDestinationName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deliveryDestinationArn
@Stability(Stable) public DeliveryDestinationReference.Builder deliveryDestinationArn(String deliveryDestinationArn) Sets the value ofDeliveryDestinationReference.getDeliveryDestinationArn()- Parameters:
deliveryDestinationArn- The ARN of the DeliveryDestination resource. This parameter is required.- Returns:
this
-
deliveryDestinationName
@Stability(Stable) public DeliveryDestinationReference.Builder deliveryDestinationName(String deliveryDestinationName) Sets the value ofDeliveryDestinationReference.getDeliveryDestinationName()- Parameters:
deliveryDestinationName- The Name of the DeliveryDestination resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DeliveryDestinationReference>- Returns:
- a new instance of
DeliveryDestinationReference - Throws:
NullPointerException- if any required attribute was not provided
-