Class AWSAPICallViaCloudTrail.RequestParameters.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.dlm.events.AWSAPICallViaCloudTrail.RequestParameters.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.RequestParameters>
- Enclosing interface:
AWSAPICallViaCloudTrail.RequestParameters
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.RequestParameters.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.RequestParameters>
A builder for
AWSAPICallViaCloudTrail.RequestParameters-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(List<String> description) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getDescription()executionRoleArn(List<String> executionRoleArn) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getExecutionRoleArn()policyDetails(AWSAPICallViaCloudTrail.PolicyDetails policyDetails) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getPolicyDetails()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getPolicyId()Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder description(List<String> description) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.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
-
executionRoleArn
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder executionRoleArn(List<String> executionRoleArn) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getExecutionRoleArn()- Parameters:
executionRoleArn- ExecutionRoleArn property. Specify an array of string values to match this event if the actual value of ExecutionRoleArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
policyDetails
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder policyDetails(AWSAPICallViaCloudTrail.PolicyDetails policyDetails) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getPolicyDetails()- Parameters:
policyDetails- PolicyDetails property. Specify an array of string values to match this event if the actual value of PolicyDetails is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
policyId
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder policyId(List<String> policyId) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getPolicyId()- Parameters:
policyId- policyId property. Specify an array of string values to match this event if the actual value of policyId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
state
@Stability(Experimental) public AWSAPICallViaCloudTrail.RequestParameters.Builder state(List<String> state) Sets the value ofAWSAPICallViaCloudTrail.RequestParameters.getState()- Parameters:
state- State property. Specify an array of string values to match this event if the actual value of State 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.RequestParameters>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.RequestParameters - Throws:
NullPointerException- if any required attribute was not provided
-