Class ECSTaskStateChange.NetworkInterfaceDetails.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ecs.events.ECSTaskStateChange.NetworkInterfaceDetails.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ECSTaskStateChange.NetworkInterfaceDetails>
- Enclosing interface:
ECSTaskStateChange.NetworkInterfaceDetails
@Stability(Experimental)
public static final class ECSTaskStateChange.NetworkInterfaceDetails.Builder
extends Object
implements software.amazon.jsii.Builder<ECSTaskStateChange.NetworkInterfaceDetails>
A builder for
ECSTaskStateChange.NetworkInterfaceDetails-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentId(List<String> attachmentId) Sets the value ofECSTaskStateChange.NetworkInterfaceDetails.getAttachmentId()build()Builds the configured instance.ipv6Address(List<String> ipv6Address) Sets the value ofECSTaskStateChange.NetworkInterfaceDetails.getIpv6Address()privateIpv4Address(List<String> privateIpv4Address) Sets the value ofECSTaskStateChange.NetworkInterfaceDetails.getPrivateIpv4Address()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachmentId
@Stability(Experimental) public ECSTaskStateChange.NetworkInterfaceDetails.Builder attachmentId(List<String> attachmentId) Sets the value ofECSTaskStateChange.NetworkInterfaceDetails.getAttachmentId()- Parameters:
attachmentId- attachmentId property. Specify an array of string values to match this event if the actual value of attachmentId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
ipv6Address
@Stability(Experimental) public ECSTaskStateChange.NetworkInterfaceDetails.Builder ipv6Address(List<String> ipv6Address) Sets the value ofECSTaskStateChange.NetworkInterfaceDetails.getIpv6Address()- Parameters:
ipv6Address- ipv6Address property. Specify an array of string values to match this event if the actual value of ipv6Address is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
privateIpv4Address
@Stability(Experimental) public ECSTaskStateChange.NetworkInterfaceDetails.Builder privateIpv4Address(List<String> privateIpv4Address) Sets the value ofECSTaskStateChange.NetworkInterfaceDetails.getPrivateIpv4Address()- Parameters:
privateIpv4Address- privateIpv4Address property. Specify an array of string values to match this event if the actual value of privateIpv4Address 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<ECSTaskStateChange.NetworkInterfaceDetails>- Returns:
- a new instance of
ECSTaskStateChange.NetworkInterfaceDetails - Throws:
NullPointerException- if any required attribute was not provided
-