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