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