Class AWSAPICallViaCloudTrail.PolicyDetails.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.dlm.events.AWSAPICallViaCloudTrail.PolicyDetails.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.PolicyDetails>
- Enclosing interface:
AWSAPICallViaCloudTrail.PolicyDetails
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.PolicyDetails.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.PolicyDetails>
A builder for
AWSAPICallViaCloudTrail.PolicyDetails-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.policyType(List<String> policyType) Sets the value ofAWSAPICallViaCloudTrail.PolicyDetails.getPolicyType()resourceTypes(List<String> resourceTypes) Sets the value ofAWSAPICallViaCloudTrail.PolicyDetails.getResourceTypes()schedules(List<? extends AWSAPICallViaCloudTrail.PolicyDetailsItem> schedules) Sets the value ofAWSAPICallViaCloudTrail.PolicyDetails.getSchedules()targetTags(List<? extends AWSAPICallViaCloudTrail.PolicyDetailsItem1> targetTags) Sets the value ofAWSAPICallViaCloudTrail.PolicyDetails.getTargetTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policyType
@Stability(Experimental) public AWSAPICallViaCloudTrail.PolicyDetails.Builder policyType(List<String> policyType) Sets the value ofAWSAPICallViaCloudTrail.PolicyDetails.getPolicyType()- Parameters:
policyType- PolicyType property. Specify an array of string values to match this event if the actual value of PolicyType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
resourceTypes
@Stability(Experimental) public AWSAPICallViaCloudTrail.PolicyDetails.Builder resourceTypes(List<String> resourceTypes) Sets the value ofAWSAPICallViaCloudTrail.PolicyDetails.getResourceTypes()- Parameters:
resourceTypes- ResourceTypes property. Specify an array of string values to match this event if the actual value of ResourceTypes is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
schedules
@Stability(Experimental) public AWSAPICallViaCloudTrail.PolicyDetails.Builder schedules(List<? extends AWSAPICallViaCloudTrail.PolicyDetailsItem> schedules) Sets the value ofAWSAPICallViaCloudTrail.PolicyDetails.getSchedules()- Parameters:
schedules- Schedules property. Specify an array of string values to match this event if the actual value of Schedules is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
targetTags
@Stability(Experimental) public AWSAPICallViaCloudTrail.PolicyDetails.Builder targetTags(List<? extends AWSAPICallViaCloudTrail.PolicyDetailsItem1> targetTags) Sets the value ofAWSAPICallViaCloudTrail.PolicyDetails.getTargetTags()- Parameters:
targetTags- TargetTags property. Specify an array of string values to match this event if the actual value of TargetTags 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.PolicyDetails>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.PolicyDetails - Throws:
NullPointerException- if any required attribute was not provided
-