Interface ResourceCollection.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceCollection.Builder,ResourceCollection>,SdkBuilder<ResourceCollection.Builder,ResourceCollection>,SdkPojo
- Enclosing class:
- ResourceCollection
public static interface ResourceCollection.Builder extends SdkPojo, CopyableBuilder<ResourceCollection.Builder,ResourceCollection>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ResourceCollection.BuildercloudFormation(Consumer<CloudFormationCollection.Builder> cloudFormation)An array of the names of Amazon Web Services CloudFormation stacks.ResourceCollection.BuildercloudFormation(CloudFormationCollection cloudFormation)An array of the names of Amazon Web Services CloudFormation stacks.ResourceCollection.Buildertags(Collection<TagCollection> tags)The Amazon Web Services tags that are used by resources in the resource collection.ResourceCollection.Buildertags(Consumer<TagCollection.Builder>... tags)The Amazon Web Services tags that are used by resources in the resource collection.ResourceCollection.Buildertags(TagCollection... tags)The Amazon Web Services tags that are used by 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 Detail
-
cloudFormation
ResourceCollection.Builder cloudFormation(CloudFormationCollection cloudFormation)
An array of the names of Amazon Web Services CloudFormation stacks. The stacks define Amazon Web Services resources that DevOps Guru analyzes. You can specify up to 500 Amazon Web Services CloudFormation stacks.
- Parameters:
cloudFormation- An array of the names of Amazon Web Services CloudFormation stacks. The stacks define Amazon Web Services resources that DevOps Guru analyzes. You can specify up to 500 Amazon Web Services CloudFormation stacks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudFormation
default ResourceCollection.Builder cloudFormation(Consumer<CloudFormationCollection.Builder> cloudFormation)
An array of the names of Amazon Web Services CloudFormation stacks. The stacks define Amazon Web Services resources that DevOps Guru analyzes. You can specify up to 500 Amazon Web Services CloudFormation stacks.
This is a convenience method that creates an instance of theCloudFormationCollection.Builderavoiding the need to create one manually viaCloudFormationCollection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloudFormation(CloudFormationCollection).- Parameters:
cloudFormation- a consumer that will call methods onCloudFormationCollection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cloudFormation(CloudFormationCollection)
-
tags
ResourceCollection.Builder tags(Collection<TagCollection> tags)
The Amazon Web Services tags that are used by 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-applicationordevops-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-rdsand a key namedDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your application might beDevops-Guru-production-application/RDSorDevops-Guru-production-application/containers.- Parameters:
tags- The Amazon Web Services tags that are used by 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-applicationordevops-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-rdsand a key namedDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your application might beDevops-Guru-production-application/RDSorDevops-Guru-production-application/containers.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
ResourceCollection.Builder tags(TagCollection... tags)
The Amazon Web Services tags that are used by 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-applicationordevops-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-rdsand a key namedDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your application might beDevops-Guru-production-application/RDSorDevops-Guru-production-application/containers.- Parameters:
tags- The Amazon Web Services tags that are used by 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-applicationordevops-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-rdsand a key namedDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your application might beDevops-Guru-production-application/RDSorDevops-Guru-production-application/containers.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
ResourceCollection.Builder tags(Consumer<TagCollection.Builder>... tags)
The Amazon Web Services tags that are used by 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.
This is a convenience method that creates an instance of theThe 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-applicationordevops-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-rdsand a key namedDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your application might beDevops-Guru-production-application/RDSorDevops-Guru-production-application/containers.TagCollection.Builderavoiding the need to create one manually viaTagCollection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTagCollection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-
-