Class AWSAPICallViaCloudTrail.Project.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.AWSAPICallViaCloudTrail.Project.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Project>
- Enclosing interface:
AWSAPICallViaCloudTrail.Project
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.Project.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.Project>
A builder for
AWSAPICallViaCloudTrail.Project-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAWSAPICallViaCloudTrail.Project.getArn()artifacts(AWSAPICallViaCloudTrail.Artifacts1 artifacts) Sets the value ofAWSAPICallViaCloudTrail.Project.getArtifacts()Sets the value ofAWSAPICallViaCloudTrail.Project.getBadge()build()Builds the configured instance.Sets the value ofAWSAPICallViaCloudTrail.Project.getCache()Sets the value ofAWSAPICallViaCloudTrail.Project.getCreated()description(List<String> description) Sets the value ofAWSAPICallViaCloudTrail.Project.getDescription()encryptionKey(List<String> encryptionKey) Sets the value ofAWSAPICallViaCloudTrail.Project.getEncryptionKey()environment(AWSAPICallViaCloudTrail.Environment1 environment) Sets the value ofAWSAPICallViaCloudTrail.Project.getEnvironment()lastModified(List<String> lastModified) Sets the value ofAWSAPICallViaCloudTrail.Project.getLastModified()Sets the value ofAWSAPICallViaCloudTrail.Project.getName()queuedTimeoutInMinutes(List<String> queuedTimeoutInMinutes) Sets the value ofAWSAPICallViaCloudTrail.Project.getQueuedTimeoutInMinutes()serviceRole(List<String> serviceRole) Sets the value ofAWSAPICallViaCloudTrail.Project.getServiceRole()Sets the value ofAWSAPICallViaCloudTrail.Project.getSource()sourceVersion(List<String> sourceVersion) Sets the value ofAWSAPICallViaCloudTrail.Project.getSourceVersion()tags(List<? extends AWSAPICallViaCloudTrail.ProjectItem> tags) Sets the value ofAWSAPICallViaCloudTrail.Project.getTags()timeoutInMinutes(List<String> timeoutInMinutes) Sets the value ofAWSAPICallViaCloudTrail.Project.getTimeoutInMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofAWSAPICallViaCloudTrail.Project.getArn()- Parameters:
arn- arn property. Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
artifacts
@Stability(Experimental) public AWSAPICallViaCloudTrail.Project.Builder artifacts(AWSAPICallViaCloudTrail.Artifacts1 artifacts) Sets the value ofAWSAPICallViaCloudTrail.Project.getArtifacts()- Parameters:
artifacts- artifacts property. Specify an array of string values to match this event if the actual value of artifacts is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
badge
@Stability(Experimental) public AWSAPICallViaCloudTrail.Project.Builder badge(AWSAPICallViaCloudTrail.Badge badge) Sets the value ofAWSAPICallViaCloudTrail.Project.getBadge()- Parameters:
badge- badge property. Specify an array of string values to match this event if the actual value of badge is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
cache
@Stability(Experimental) public AWSAPICallViaCloudTrail.Project.Builder cache(AWSAPICallViaCloudTrail.Cache cache) Sets the value ofAWSAPICallViaCloudTrail.Project.getCache()- Parameters:
cache- cache property. Specify an array of string values to match this event if the actual value of cache is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
created
@Stability(Experimental) public AWSAPICallViaCloudTrail.Project.Builder created(List<String> created) Sets the value ofAWSAPICallViaCloudTrail.Project.getCreated()- Parameters:
created- created property. Specify an array of string values to match this event if the actual value of created is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
description
@Stability(Experimental) public AWSAPICallViaCloudTrail.Project.Builder description(List<String> description) Sets the value ofAWSAPICallViaCloudTrail.Project.getDescription()- Parameters:
description- description property. Specify an array of string values to match this event if the actual value of description is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
encryptionKey
@Stability(Experimental) public AWSAPICallViaCloudTrail.Project.Builder encryptionKey(List<String> encryptionKey) Sets the value ofAWSAPICallViaCloudTrail.Project.getEncryptionKey()- Parameters:
encryptionKey- encryptionKey property. Specify an array of string values to match this event if the actual value of encryptionKey is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
environment
@Stability(Experimental) public AWSAPICallViaCloudTrail.Project.Builder environment(AWSAPICallViaCloudTrail.Environment1 environment) Sets the value ofAWSAPICallViaCloudTrail.Project.getEnvironment()- Parameters:
environment- environment property. Specify an array of string values to match this event if the actual value of environment is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
lastModified
@Stability(Experimental) public AWSAPICallViaCloudTrail.Project.Builder lastModified(List<String> lastModified) Sets the value ofAWSAPICallViaCloudTrail.Project.getLastModified()- Parameters:
lastModified- lastModified property. Specify an array of string values to match this event if the actual value of lastModified is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
name
Sets the value ofAWSAPICallViaCloudTrail.Project.getName()- Parameters:
name- name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
queuedTimeoutInMinutes
@Stability(Experimental) public AWSAPICallViaCloudTrail.Project.Builder queuedTimeoutInMinutes(List<String> queuedTimeoutInMinutes) Sets the value ofAWSAPICallViaCloudTrail.Project.getQueuedTimeoutInMinutes()- Parameters:
queuedTimeoutInMinutes- queuedTimeoutInMinutes property. Specify an array of string values to match this event if the actual value of queuedTimeoutInMinutes is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
serviceRole
@Stability(Experimental) public AWSAPICallViaCloudTrail.Project.Builder serviceRole(List<String> serviceRole) Sets the value ofAWSAPICallViaCloudTrail.Project.getServiceRole()- Parameters:
serviceRole- serviceRole property. Specify an array of string values to match this event if the actual value of serviceRole is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
source
@Stability(Experimental) public AWSAPICallViaCloudTrail.Project.Builder source(AWSAPICallViaCloudTrail.Source1 source) Sets the value ofAWSAPICallViaCloudTrail.Project.getSource()- Parameters:
source- source property. Specify an array of string values to match this event if the actual value of source is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceVersion
@Stability(Experimental) public AWSAPICallViaCloudTrail.Project.Builder sourceVersion(List<String> sourceVersion) Sets the value ofAWSAPICallViaCloudTrail.Project.getSourceVersion()- Parameters:
sourceVersion- sourceVersion property. Specify an array of string values to match this event if the actual value of sourceVersion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
tags
@Stability(Experimental) public AWSAPICallViaCloudTrail.Project.Builder tags(List<? extends AWSAPICallViaCloudTrail.ProjectItem> tags) Sets the value ofAWSAPICallViaCloudTrail.Project.getTags()- Parameters:
tags- tags property. Specify an array of string values to match this event if the actual value of tags is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
timeoutInMinutes
@Stability(Experimental) public AWSAPICallViaCloudTrail.Project.Builder timeoutInMinutes(List<String> timeoutInMinutes) Sets the value ofAWSAPICallViaCloudTrail.Project.getTimeoutInMinutes()- Parameters:
timeoutInMinutes- timeoutInMinutes property. Specify an array of string values to match this event if the actual value of timeoutInMinutes 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.Project>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.Project - Throws:
NullPointerException- if any required attribute was not provided
-