Interface ListTagsForResourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListTagsForResourceRequest.Builder,ListTagsForResourceRequest>,OpsWorksCmRequest.Builder,SdkBuilder<ListTagsForResourceRequest.Builder,ListTagsForResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListTagsForResourceRequest
public static interface ListTagsForResourceRequest.Builder extends OpsWorksCmRequest.Builder, SdkPojo, CopyableBuilder<ListTagsForResourceRequest.Builder,ListTagsForResourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTagsForResourceRequest.BuildermaxResults(Integer maxResults)To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call.ListTagsForResourceRequest.BuildernextToken(String nextToken)NextToken is a string that is returned in some command responses.ListTagsForResourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListTagsForResourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListTagsForResourceRequest.BuilderresourceArn(String resourceArn)The Amazon Resource Number (ARN) of an AWS OpsWorks for Chef Automate or AWS OpsWorks for Puppet Enterprise server for which you want to show applied tags.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.opsworkscm.model.OpsWorksCmRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
resourceArn
ListTagsForResourceRequest.Builder resourceArn(String resourceArn)
The Amazon Resource Number (ARN) of an AWS OpsWorks for Chef Automate or AWS OpsWorks for Puppet Enterprise server for which you want to show applied tags. For example,
arn:aws:opsworks-cm:us-west-2:123456789012:server/test-owcm-server/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE.- Parameters:
resourceArn- The Amazon Resource Number (ARN) of an AWS OpsWorks for Chef Automate or AWS OpsWorks for Puppet Enterprise server for which you want to show applied tags. For example,arn:aws:opsworks-cm:us-west-2:123456789012:server/test-owcm-server/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListTagsForResourceRequest.Builder nextToken(String nextToken)
NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call
ListTagsForResourceagain, and assign the token from the previous results as the value of thenextTokenparameter. If there are no more results, the response object'snextTokenparameter value isnull. Setting anextTokenvalue that was not returned in your previous results causes anInvalidNextTokenExceptionto occur.- Parameters:
nextToken- NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, callListTagsForResourceagain, and assign the token from the previous results as the value of thenextTokenparameter. If there are no more results, the response object'snextTokenparameter value isnull. Setting anextTokenvalue that was not returned in your previous results causes anInvalidNextTokenExceptionto occur.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListTagsForResourceRequest.Builder maxResults(Integer maxResults)
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a
NextTokenvalue that you can assign to theNextTokenrequest parameter to get the next set of results.- Parameters:
maxResults- To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes aNextTokenvalue that you can assign to theNextTokenrequest parameter to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListTagsForResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListTagsForResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-