Class FirewallTransitGatewayAttachmentStatusChanged.Data.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.networkfirewall.events.FirewallTransitGatewayAttachmentStatusChanged.Data.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FirewallTransitGatewayAttachmentStatusChanged.Data>
- Enclosing interface:
FirewallTransitGatewayAttachmentStatusChanged.Data
@Stability(Experimental)
public static final class FirewallTransitGatewayAttachmentStatusChanged.Data.Builder
extends Object
implements software.amazon.jsii.Builder<FirewallTransitGatewayAttachmentStatusChanged.Data>
A builder for
FirewallTransitGatewayAttachmentStatusChanged.Data-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentId(List<String> attachmentId) Sets the value ofFirewallTransitGatewayAttachmentStatusChanged.Data.getAttachmentId()build()Builds the configured instance.currentTransitGatewayAttachmentStatus(List<String> currentTransitGatewayAttachmentStatus) previousTransitGatewayAttachmentStatus(List<String> previousTransitGatewayAttachmentStatus)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachmentId
@Stability(Experimental) public FirewallTransitGatewayAttachmentStatusChanged.Data.Builder attachmentId(List<String> attachmentId) Sets the value ofFirewallTransitGatewayAttachmentStatusChanged.Data.getAttachmentId()- Parameters:
attachmentId- Attachment ID property. Specify an array of string values to match this event if the actual value of Attachment ID is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
currentTransitGatewayAttachmentStatus
@Stability(Experimental) public FirewallTransitGatewayAttachmentStatusChanged.Data.Builder currentTransitGatewayAttachmentStatus(List<String> currentTransitGatewayAttachmentStatus) Sets the value ofFirewallTransitGatewayAttachmentStatusChanged.Data.getCurrentTransitGatewayAttachmentStatus()- Parameters:
currentTransitGatewayAttachmentStatus- Current Transit Gateway Attachment Status property. Specify an array of string values to match this event if the actual value of Current Transit Gateway Attachment Status is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
previousTransitGatewayAttachmentStatus
@Stability(Experimental) public FirewallTransitGatewayAttachmentStatusChanged.Data.Builder previousTransitGatewayAttachmentStatus(List<String> previousTransitGatewayAttachmentStatus) Sets the value ofFirewallTransitGatewayAttachmentStatusChanged.Data.getPreviousTransitGatewayAttachmentStatus()- Parameters:
previousTransitGatewayAttachmentStatus- Previous Transit Gateway Attachment Status property. Specify an array of string values to match this event if the actual value of Previous Transit Gateway Attachment Status is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FirewallTransitGatewayAttachmentStatusChanged.Data>- Returns:
- a new instance of
FirewallTransitGatewayAttachmentStatusChanged.Data - Throws:
NullPointerException- if any required attribute was not provided
-