Class BatchJobStateChange.NetworkInterface.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.batch.events.BatchJobStateChange.NetworkInterface.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BatchJobStateChange.NetworkInterface>
- Enclosing interface:
BatchJobStateChange.NetworkInterface
@Stability(Experimental)
public static final class BatchJobStateChange.NetworkInterface.Builder
extends Object
implements software.amazon.jsii.Builder<BatchJobStateChange.NetworkInterface>
A builder for
BatchJobStateChange.NetworkInterface-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentId(List<String> attachmentId) Sets the value ofBatchJobStateChange.NetworkInterface.getAttachmentId()build()Builds the configured instance.ipv6Address(List<String> ipv6Address) Sets the value ofBatchJobStateChange.NetworkInterface.getIpv6Address()privateIpv4Address(List<String> privateIpv4Address) Sets the value ofBatchJobStateChange.NetworkInterface.getPrivateIpv4Address()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachmentId
@Stability(Experimental) public BatchJobStateChange.NetworkInterface.Builder attachmentId(List<String> attachmentId) Sets the value ofBatchJobStateChange.NetworkInterface.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 BatchJobStateChange.NetworkInterface.Builder ipv6Address(List<String> ipv6Address) Sets the value ofBatchJobStateChange.NetworkInterface.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 BatchJobStateChange.NetworkInterface.Builder privateIpv4Address(List<String> privateIpv4Address) Sets the value ofBatchJobStateChange.NetworkInterface.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<BatchJobStateChange.NetworkInterface>- Returns:
- a new instance of
BatchJobStateChange.NetworkInterface - Throws:
NullPointerException- if any required attribute was not provided
-