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