@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LabelParameterVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
LabelParameterVersionRequest() |
Modifier and Type | Method and Description |
---|---|
LabelParameterVersionRequest |
clone() |
boolean |
equals(Object obj) |
List<String> |
getLabels()
One or more labels to attach to the specified parameter version.
|
String |
getName()
The parameter name on which you want to attach one or more labels.
|
Long |
getParameterVersion()
The specific version of the parameter on which you want to attach one or more labels.
|
int |
hashCode() |
void |
setLabels(Collection<String> labels)
One or more labels to attach to the specified parameter version.
|
void |
setName(String name)
The parameter name on which you want to attach one or more labels.
|
void |
setParameterVersion(Long parameterVersion)
The specific version of the parameter on which you want to attach one or more labels.
|
String |
toString()
Returns a string representation of this object.
|
LabelParameterVersionRequest |
withLabels(Collection<String> labels)
One or more labels to attach to the specified parameter version.
|
LabelParameterVersionRequest |
withLabels(String... labels)
One or more labels to attach to the specified parameter version.
|
LabelParameterVersionRequest |
withName(String name)
The parameter name on which you want to attach one or more labels.
|
LabelParameterVersionRequest |
withParameterVersion(Long parameterVersion)
The specific version of the parameter on which you want to attach one or more labels.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The parameter name on which you want to attach one or more labels.
name
- The parameter name on which you want to attach one or more labels.public String getName()
The parameter name on which you want to attach one or more labels.
public LabelParameterVersionRequest withName(String name)
The parameter name on which you want to attach one or more labels.
name
- The parameter name on which you want to attach one or more labels.public void setParameterVersion(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.
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 Long getParameterVersion()
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 LabelParameterVersionRequest withParameterVersion(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.
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 List<String> getLabels()
One or more labels to attach to the specified parameter version.
public void setLabels(Collection<String> labels)
One or more labels to attach to the specified parameter version.
labels
- One or more labels to attach to the specified parameter version.public LabelParameterVersionRequest withLabels(String... labels)
One or more labels to attach to the specified parameter version.
NOTE: This method appends the values to the existing list (if any). Use
setLabels(java.util.Collection)
or withLabels(java.util.Collection)
if you want to override the
existing values.
labels
- One or more labels to attach to the specified parameter version.public LabelParameterVersionRequest withLabels(Collection<String> labels)
One or more labels to attach to the specified parameter version.
labels
- One or more labels to attach to the specified parameter version.public String toString()
toString
in class Object
Object.toString()
public LabelParameterVersionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.