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