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