Class CfnStoredQueryPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.config.CfnStoredQueryPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStoredQueryPropsMixin>
- Enclosing class:
CfnStoredQueryPropsMixin
@Stability(Stable)
public static final class CfnStoredQueryPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStoredQueryPropsMixin>
A fluent builder for
CfnStoredQueryPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) queryDescription(String queryDescription) A unique description for the query.queryExpression(String queryExpression) The expression of the query.The name of the query.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnStoredQueryPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnStoredQueryPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnStoredQueryPropsMixin.Builder.
-
queryDescription
@Stability(Stable) public CfnStoredQueryPropsMixin.Builder queryDescription(String queryDescription) A unique description for the query.- Parameters:
queryDescription- A unique description for the query. This parameter is required.- Returns:
this- See Also:
-
queryExpression
The expression of the query.For example,
SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.- Parameters:
queryExpression- The expression of the query. This parameter is required.- Returns:
this- See Also:
-
queryName
The name of the query.- Parameters:
queryName- The name of the query. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStoredQueryPropsMixin>- Returns:
- a newly built instance of
CfnStoredQueryPropsMixin.
-