Class AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codebuild.events.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps>
- Enclosing interface:
AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps>
A builder for
AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getAwsRegion()build()Builds the configured instance.Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getErrorCode()errorMessage(List<String> errorMessage) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getErrorMessage()Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventId()eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventMetadata()Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventName()eventSource(List<String> eventSource) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventSource()Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventTime()Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventType()eventVersion(List<String> eventVersion) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventVersion()Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getRequestId()requestParameters(AWSAPICallViaCloudTrail.RequestParameters requestParameters) responseElements(AWSAPICallViaCloudTrail.ResponseElements responseElements) sourceIpAddress(List<String> sourceIpAddress) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getUserAgent()userIdentity(AWSAPICallViaCloudTrail.UserIdentity userIdentity) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getUserIdentity()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsRegion
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder awsRegion(List<String> awsRegion) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getAwsRegion()- Parameters:
awsRegion- awsRegion property. Specify an array of string values to match this event if the actual value of awsRegion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
errorCode
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder errorCode(List<String> errorCode) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getErrorCode()- Parameters:
errorCode- errorCode property. Specify an array of string values to match this event if the actual value of errorCode is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
errorMessage
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder errorMessage(List<String> errorMessage) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getErrorMessage()- Parameters:
errorMessage- errorMessage property. Specify an array of string values to match this event if the actual value of errorMessage is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventId
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventId(List<String> eventId) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventId()- Parameters:
eventId- eventID property. Specify an array of string values to match this event if the actual value of eventID is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
eventName
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventName(List<String> eventName) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventName()- Parameters:
eventName- eventName property. Specify an array of string values to match this event if the actual value of eventName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventSource
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventSource(List<String> eventSource) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventSource()- Parameters:
eventSource- eventSource property. Specify an array of string values to match this event if the actual value of eventSource is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventTime
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventTime(List<String> eventTime) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventTime()- Parameters:
eventTime- eventTime property. Specify an array of string values to match this event if the actual value of eventTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventType
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventType(List<String> eventType) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventType()- Parameters:
eventType- eventType property. Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventVersion
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder eventVersion(List<String> eventVersion) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getEventVersion()- Parameters:
eventVersion- eventVersion property. Specify an array of string values to match this event if the actual value of eventVersion is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
requestId
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder requestId(List<String> requestId) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getRequestId()- Parameters:
requestId- requestID property. Specify an array of string values to match this event if the actual value of requestID is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
requestParameters
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder requestParameters(AWSAPICallViaCloudTrail.RequestParameters requestParameters) - Parameters:
requestParameters- requestParameters property. Specify an array of string values to match this event if the actual value of requestParameters is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
responseElements
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder responseElements(AWSAPICallViaCloudTrail.ResponseElements responseElements) - Parameters:
responseElements- responseElements property. Specify an array of string values to match this event if the actual value of responseElements is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceIpAddress
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder sourceIpAddress(List<String> sourceIpAddress) - Parameters:
sourceIpAddress- sourceIPAddress property. Specify an array of string values to match this event if the actual value of sourceIPAddress is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
userAgent
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder userAgent(List<String> userAgent) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getUserAgent()- Parameters:
userAgent- userAgent property. Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
userIdentity
@Stability(Experimental) public AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.Builder userIdentity(AWSAPICallViaCloudTrail.UserIdentity userIdentity) Sets the value ofAWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps.getUserIdentity()- Parameters:
userIdentity- userIdentity property. Specify an array of string values to match this event if the actual value of userIdentity 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.AWSAPICallViaCloudTrailProps>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps - Throws:
NullPointerException- if any required attribute was not provided
-