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