public static final class CfnStoredQuery.Builder
extends java.lang.Object
CfnStoredQuery
.Modifier and Type | Method and Description |
---|---|
CfnStoredQuery |
build() |
static CfnStoredQuery.Builder |
create(Construct scope,
java.lang.String id) |
CfnStoredQuery.Builder |
queryDescription(java.lang.String queryDescription)
A unique description for the query.
|
CfnStoredQuery.Builder |
queryExpression(java.lang.String queryExpression)
The expression of the query.
|
CfnStoredQuery.Builder |
queryName(java.lang.String queryName)
The name of the query.
|
CfnStoredQuery.Builder |
tags(java.util.List<? extends CfnTag> tags)
An array of key-value pairs to apply to this resource.
|
public static CfnStoredQuery.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnStoredQuery.Builder
.public CfnStoredQuery.Builder queryExpression(java.lang.String queryExpression)
For example, SELECT resourceId, resourceType, supplementaryConfiguration.BucketVersioningConfiguration.status WHERE resourceType = 'AWS::S3::Bucket' AND supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
queryExpression
- The expression of the query. This parameter is required.this
public CfnStoredQuery.Builder queryName(java.lang.String queryName)
queryName
- The name of the query. This parameter is required.this
public CfnStoredQuery.Builder queryDescription(java.lang.String queryDescription)
queryDescription
- A unique description for the query. This parameter is required.this
public CfnStoredQuery.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- An array of key-value pairs to apply to this resource. This parameter is required.this
public CfnStoredQuery build()