@Generated(value="software.amazon.awssdk:codegen") public final class UntagResourceRequest extends SecretsManagerRequest implements ToCopyableBuilder<UntagResourceRequest.Builder,UntagResourceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UntagResourceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UntagResourceRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTagKeys()
Returns true if the TagKeys property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
String |
secretId()
The identifier for the secret that you want to remove tags from.
|
static Class<? extends UntagResourceRequest.Builder> |
serializableBuilderClass() |
List<String> |
tagKeys()
A list of tag key names to remove from the secret.
|
UntagResourceRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String secretId()
The identifier for the secret that you want to remove tags from. You can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.
If you specify an ARN, we generally recommend that you specify a complete ARN. You can specify a partial ARN too—for example, if you don’t include the final hyphen and six random characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN match can work as long as it uniquely matches only one secret. However, if your secret has a name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six characters to the ARN) and you try to use that as a partial ARN, then those characters cause Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected results. To avoid this situation, we recommend that you don’t create secret names that end with a hyphen followed by six characters.
If you specify an ARN, we generally recommend that you specify a complete ARN. You can specify a partial ARN too—for example, if you don’t include the final hyphen and six random characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN match can work as long as it uniquely matches only one secret. However, if your secret has a name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six characters to the ARN) and you try to use that as a partial ARN, then those characters cause Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected results. To avoid this situation, we recommend that you don’t create secret names that end with a hyphen followed by six characters.
public boolean hasTagKeys()
public List<String> tagKeys()
A list of tag key names to remove from the secret. You don't specify the value. Both the key and its associated value are removed.
This parameter to the API requires a JSON text string argument. For information on how to format a JSON parameter for the various command line tool environments, see Using JSON for Parameters in the AWS CLI User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTagKeys() to see if a value was sent in this field.
This parameter to the API requires a JSON text string argument. For information on how to format a JSON parameter for the various command line tool environments, see Using JSON for Parameters in the AWS CLI User Guide.
public UntagResourceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UntagResourceRequest.Builder,UntagResourceRequest>toBuilder in class SecretsManagerRequestpublic static UntagResourceRequest.Builder builder()
public static Class<? extends UntagResourceRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.