Interface DescribeResourceCollectionHealthResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeResourceCollectionHealthResponse.Builder,
,DescribeResourceCollectionHealthResponse> DevOpsGuruResponse.Builder
,SdkBuilder<DescribeResourceCollectionHealthResponse.Builder,
,DescribeResourceCollectionHealthResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeResourceCollectionHealthResponse
-
Method Summary
Modifier and TypeMethodDescriptioncloudFormation
(Collection<CloudFormationHealth> cloudFormation) The returnedCloudFormationHealthOverview
object that contains anInsightHealthOverview
object with the requested system health information.cloudFormation
(Consumer<CloudFormationHealth.Builder>... cloudFormation) The returnedCloudFormationHealthOverview
object that contains anInsightHealthOverview
object with the requested system health information.cloudFormation
(CloudFormationHealth... cloudFormation) The returnedCloudFormationHealthOverview
object that contains anInsightHealthOverview
object with the requested system health information.The pagination token to use to retrieve the next page of results for this operation.service
(Collection<ServiceHealth> service) An array ofServiceHealth
objects that describes the health of the Amazon Web Services services associated with the resources in the collection.service
(Consumer<ServiceHealth.Builder>... service) An array ofServiceHealth
objects that describes the health of the Amazon Web Services services associated with the resources in the collection.service
(ServiceHealth... service) An array ofServiceHealth
objects that describes the health of the Amazon Web Services services associated with the resources in the collection.tags
(Collection<TagHealth> tags) The Amazon Web Services tags that are used by resources in the resource collection.tags
(Consumer<TagHealth.Builder>... tags) The Amazon Web Services tags that are used by resources in the resource collection.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.services.devopsguru.model.DevOpsGuruResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
cloudFormation
DescribeResourceCollectionHealthResponse.Builder cloudFormation(Collection<CloudFormationHealth> cloudFormation) The returned
CloudFormationHealthOverview
object that contains anInsightHealthOverview
object with the requested system health information.- Parameters:
cloudFormation
- The returnedCloudFormationHealthOverview
object that contains anInsightHealthOverview
object with the requested system health information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudFormation
DescribeResourceCollectionHealthResponse.Builder cloudFormation(CloudFormationHealth... cloudFormation) The returned
CloudFormationHealthOverview
object that contains anInsightHealthOverview
object with the requested system health information.- Parameters:
cloudFormation
- The returnedCloudFormationHealthOverview
object that contains anInsightHealthOverview
object with the requested system health information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudFormation
DescribeResourceCollectionHealthResponse.Builder cloudFormation(Consumer<CloudFormationHealth.Builder>... cloudFormation) The returned
This is a convenience method that creates an instance of theCloudFormationHealthOverview
object that contains anInsightHealthOverview
object with the requested system health information.CloudFormationHealth.Builder
avoiding the need to create one manually viaCloudFormationHealth.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudFormation(List<CloudFormationHealth>)
.- Parameters:
cloudFormation
- a consumer that will call methods onCloudFormationHealth.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
service
An array of
ServiceHealth
objects that describes the health of the Amazon Web Services services associated with the resources in the collection.- Parameters:
service
- An array ofServiceHealth
objects that describes the health of the Amazon Web Services services associated with the resources in the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
An array of
ServiceHealth
objects that describes the health of the Amazon Web Services services associated with the resources in the collection.- Parameters:
service
- An array ofServiceHealth
objects that describes the health of the Amazon Web Services services associated with the resources in the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
DescribeResourceCollectionHealthResponse.Builder service(Consumer<ServiceHealth.Builder>... service) An array of
This is a convenience method that creates an instance of theServiceHealth
objects that describes the health of the Amazon Web Services services associated with the resources in the collection.ServiceHealth.Builder
avoiding the need to create one manually viaServiceHealth.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toservice(List<ServiceHealth>)
.- Parameters:
service
- a consumer that will call methods onServiceHealth.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- Parameters:
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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-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 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-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 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-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 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-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 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-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
.TagHealth.Builder
avoiding the need to create one manually viaTagHealth.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<TagHealth>)
.- Parameters:
tags
- a consumer that will call methods onTagHealth.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-