Interface ResourceCollectionFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceCollectionFilter.Builder,
,ResourceCollectionFilter> SdkBuilder<ResourceCollectionFilter.Builder,
,ResourceCollectionFilter> SdkPojo
- Enclosing class:
ResourceCollectionFilter
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceCollectionFilter.Builder
cloudFormation
(Consumer<CloudFormationCollectionFilter.Builder> cloudFormation) Information about Amazon Web Services CloudFormation stacks.cloudFormation
(CloudFormationCollectionFilter cloudFormation) Information about Amazon Web Services CloudFormation stacks.tags
(Collection<TagCollectionFilter> tags) The Amazon Web Services tags used to filter the resources in the resource collection.tags
(Consumer<TagCollectionFilter.Builder>... tags) The Amazon Web Services tags used to filter the resources in the resource collection.tags
(TagCollectionFilter... tags) The Amazon Web Services tags used to filter the resources in the resource collection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
cloudFormation
Information about Amazon Web Services CloudFormation stacks. You can use up to 500 stacks to specify which Amazon Web Services resources in your account to analyze. For more information, see Stacks in the Amazon Web Services CloudFormation User Guide.
- Parameters:
cloudFormation
- Information about Amazon Web Services CloudFormation stacks. You can use up to 500 stacks to specify which Amazon Web Services resources in your account to analyze. For more information, see Stacks in the Amazon Web Services CloudFormation User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudFormation
default ResourceCollectionFilter.Builder cloudFormation(Consumer<CloudFormationCollectionFilter.Builder> cloudFormation) Information about Amazon Web Services CloudFormation stacks. You can use up to 500 stacks to specify which Amazon Web Services resources in your account to analyze. For more information, see Stacks in the Amazon Web Services CloudFormation User Guide.
This is a convenience method that creates an instance of theCloudFormationCollectionFilter.Builder
avoiding the need to create one manually viaCloudFormationCollectionFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudFormation(CloudFormationCollectionFilter)
.- Parameters:
cloudFormation
- a consumer that will call methods onCloudFormationCollectionFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The Amazon Web Services tags used to filter the resources in the resource collection.
Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each Amazon Web Services tag has two parts.
-
A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case-sensitive. -
An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive.
Together these are known as key-value pairs.
The string used for a key in a tag that you use to define your resource coverage must begin with the prefix
Devops-guru-
. The tag key might beDevOps-Guru-deployment-application
ordevops-guru-rds-application
. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key nameddevops-guru-rds
and a key namedDevOps-Guru-RDS
, and these act as two different keys. Possible key/value pairs in your application might beDevops-Guru-production-application/RDS
orDevops-Guru-production-application/containers
.- Parameters:
tags
- The Amazon Web Services tags used to filter the resources in the resource collection.Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each Amazon Web Services tag has two parts.
-
A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case-sensitive. -
An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive.
Together these are known as key-value pairs.
The string used for a key in a tag that you use to define your resource coverage must begin with the prefix
Devops-guru-
. The tag key might beDevOps-Guru-deployment-application
ordevops-guru-rds-application
. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key nameddevops-guru-rds
and a key namedDevOps-Guru-RDS
, and these act as two different keys. Possible key/value pairs in your application might beDevops-Guru-production-application/RDS
orDevops-Guru-production-application/containers
.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
The Amazon Web Services tags used to filter the resources in the resource collection.
Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each Amazon Web Services tag has two parts.
-
A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case-sensitive. -
An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive.
Together these are known as key-value pairs.
The string used for a key in a tag that you use to define your resource coverage must begin with the prefix
Devops-guru-
. The tag key might beDevOps-Guru-deployment-application
ordevops-guru-rds-application
. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key nameddevops-guru-rds
and a key namedDevOps-Guru-RDS
, and these act as two different keys. Possible key/value pairs in your application might beDevops-Guru-production-application/RDS
orDevops-Guru-production-application/containers
.- Parameters:
tags
- The Amazon Web Services tags used to filter the resources in the resource collection.Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each Amazon Web Services tag has two parts.
-
A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case-sensitive. -
An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive.
Together these are known as key-value pairs.
The string used for a key in a tag that you use to define your resource coverage must begin with the prefix
Devops-guru-
. The tag key might beDevOps-Guru-deployment-application
ordevops-guru-rds-application
. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key nameddevops-guru-rds
and a key namedDevOps-Guru-RDS
, and these act as two different keys. Possible key/value pairs in your application might beDevops-Guru-production-application/RDS
orDevops-Guru-production-application/containers
.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
The Amazon Web Services tags used to filter the resources in the resource collection.
Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each Amazon Web Services tag has two parts.
-
A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case-sensitive. -
An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive.
Together these are known as key-value pairs.
The string used for a key in a tag that you use to define your resource coverage must begin with the prefix
Devops-guru-
. The tag key might beDevOps-Guru-deployment-application
ordevops-guru-rds-application
. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key nameddevops-guru-rds
and a key namedDevOps-Guru-RDS
, and these act as two different keys. Possible key/value pairs in your application might beDevops-Guru-production-application/RDS
orDevops-Guru-production-application/containers
.TagCollectionFilter.Builder
avoiding the need to create one manually viaTagCollectionFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<TagCollectionFilter>)
.- Parameters:
tags
- a consumer that will call methods onTagCollectionFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-