Class CodeBuildBuildPhaseChange.Cache.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.CodeBuildBuildPhaseChange.Cache.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeBuildBuildPhaseChange.Cache>
- Enclosing interface:
CodeBuildBuildPhaseChange.Cache
@Stability(Experimental)
public static final class CodeBuildBuildPhaseChange.Cache.Builder
extends Object
implements software.amazon.jsii.Builder<CodeBuildBuildPhaseChange.Cache>
A builder for
CodeBuildBuildPhaseChange.Cache-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCodeBuildBuildPhaseChange.Cache.getLocation()Sets the value ofCodeBuildBuildPhaseChange.Cache.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
location
@Stability(Experimental) public CodeBuildBuildPhaseChange.Cache.Builder location(List<String> location) Sets the value ofCodeBuildBuildPhaseChange.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 ofCodeBuildBuildPhaseChange.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<CodeBuildBuildPhaseChange.Cache>- Returns:
- a new instance of
CodeBuildBuildPhaseChange.Cache - Throws:
NullPointerException- if any required attribute was not provided
-