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