@Generated(value="software.amazon.awssdk:codegen") public final class LabelParameterVersionRequest extends SsmRequest implements ToCopyableBuilder<LabelParameterVersionRequest.Builder,LabelParameterVersionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
LabelParameterVersionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LabelParameterVersionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasLabels()
Returns true if the Labels 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<String> |
labels()
One or more labels to attach to the specified parameter version.
|
String |
name()
The parameter name on which you want to attach one or more labels.
|
Long |
parameterVersion()
The specific version of the parameter on which you want to attach one or more labels.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LabelParameterVersionRequest.Builder> |
serializableBuilderClass() |
LabelParameterVersionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String name()
The parameter name on which you want to attach one or more labels.
public Long parameterVersion()
The specific version of the parameter on which you want to attach one or more labels. If no version is specified, the system attaches the label to the latest version.
public boolean hasLabels()
public List<String> labels()
One or more labels to attach to the specified parameter version.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasLabels() to see if a value was sent in this field.
public LabelParameterVersionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LabelParameterVersionRequest.Builder,LabelParameterVersionRequest>toBuilder in class SsmRequestpublic static LabelParameterVersionRequest.Builder builder()
public static Class<? extends LabelParameterVersionRequest.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.