Class FirewallAttachmentStatusChanged.DataItem.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.networkfirewall.events.FirewallAttachmentStatusChanged.DataItem.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FirewallAttachmentStatusChanged.DataItem>
- Enclosing interface:
FirewallAttachmentStatusChanged.DataItem
@Stability(Experimental)
public static final class FirewallAttachmentStatusChanged.DataItem.Builder
extends Object
implements software.amazon.jsii.Builder<FirewallAttachmentStatusChanged.DataItem>
A builder for
FirewallAttachmentStatusChanged.DataItem-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(List<String> availabilityZone) Sets the value ofFirewallAttachmentStatusChanged.DataItem.getAvailabilityZone()build()Builds the configured instance.currentAttachmentStatus(List<String> currentAttachmentStatus) Sets the value ofFirewallAttachmentStatusChanged.DataItem.getCurrentAttachmentStatus()endpointId(List<String> endpointId) Sets the value ofFirewallAttachmentStatusChanged.DataItem.getEndpointId()previousAttachmentStatus(List<String> previousAttachmentStatus) Sets the value ofFirewallAttachmentStatusChanged.DataItem.getPreviousAttachmentStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
availabilityZone
@Stability(Experimental) public FirewallAttachmentStatusChanged.DataItem.Builder availabilityZone(List<String> availabilityZone) Sets the value ofFirewallAttachmentStatusChanged.DataItem.getAvailabilityZone()- Parameters:
availabilityZone- Availability Zone property. Specify an array of string values to match this event if the actual value of Availability Zone is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
currentAttachmentStatus
@Stability(Experimental) public FirewallAttachmentStatusChanged.DataItem.Builder currentAttachmentStatus(List<String> currentAttachmentStatus) Sets the value ofFirewallAttachmentStatusChanged.DataItem.getCurrentAttachmentStatus()- Parameters:
currentAttachmentStatus- Current Attachment Status property. Specify an array of string values to match this event if the actual value of Current 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
-
endpointId
@Stability(Experimental) public FirewallAttachmentStatusChanged.DataItem.Builder endpointId(List<String> endpointId) Sets the value ofFirewallAttachmentStatusChanged.DataItem.getEndpointId()- Parameters:
endpointId- Endpoint ID property. Specify an array of string values to match this event if the actual value of Endpoint ID is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
previousAttachmentStatus
@Stability(Experimental) public FirewallAttachmentStatusChanged.DataItem.Builder previousAttachmentStatus(List<String> previousAttachmentStatus) Sets the value ofFirewallAttachmentStatusChanged.DataItem.getPreviousAttachmentStatus()- Parameters:
previousAttachmentStatus- Previous Attachment Status property. Specify an array of string values to match this event if the actual value of Previous 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<FirewallAttachmentStatusChanged.DataItem>- Returns:
- a new instance of
FirewallAttachmentStatusChanged.DataItem - Throws:
NullPointerException- if any required attribute was not provided
-