Class ListTagsForResourceRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.opsworkscm.model.OpsWorksCmRequest
-
- software.amazon.awssdk.services.opsworkscm.model.ListTagsForResourceRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListTagsForResourceRequest.Builder,ListTagsForResourceRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListTagsForResourceRequest extends OpsWorksCmRequest implements ToCopyableBuilder<ListTagsForResourceRequest.Builder,ListTagsForResourceRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListTagsForResourceRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListTagsForResourceRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call.StringnextToken()NextToken is a string that is returned in some command responses.StringresourceArn()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.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListTagsForResourceRequest.Builder>serializableBuilderClass()ListTagsForResourceRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceArn
public final 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.- Returns:
- 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.
-
nextToken
public final 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.- Returns:
- 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.
-
maxResults
public final 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.- Returns:
- 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.
-
toBuilder
public ListTagsForResourceRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListTagsForResourceRequest.Builder,ListTagsForResourceRequest>- Specified by:
toBuilderin classOpsWorksCmRequest
-
builder
public static ListTagsForResourceRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListTagsForResourceRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-