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