@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLabelGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateLabelGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLabelGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique identifier for the request to create a label group.
|
List<String> |
getFaultCodes()
The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this
label group.
|
String |
getLabelGroupName()
Names a group of labels.
|
List<Tag> |
getTags()
Tags that provide metadata about the label group you are creating.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique identifier for the request to create a label group.
|
void |
setFaultCodes(Collection<String> faultCodes)
The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this
label group.
|
void |
setLabelGroupName(String labelGroupName)
Names a group of labels.
|
void |
setTags(Collection<Tag> tags)
Tags that provide metadata about the label group you are creating.
|
String |
toString()
Returns a string representation of this object.
|
CreateLabelGroupRequest |
withClientToken(String clientToken)
A unique identifier for the request to create a label group.
|
CreateLabelGroupRequest |
withFaultCodes(Collection<String> faultCodes)
The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this
label group.
|
CreateLabelGroupRequest |
withFaultCodes(String... faultCodes)
The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this
label group.
|
CreateLabelGroupRequest |
withLabelGroupName(String labelGroupName)
Names a group of labels.
|
CreateLabelGroupRequest |
withTags(Collection<Tag> tags)
Tags that provide metadata about the label group you are creating.
|
CreateLabelGroupRequest |
withTags(Tag... tags)
Tags that provide metadata about the label group you are creating.
|
addHandlerContext, 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 setLabelGroupName(String labelGroupName)
Names a group of labels.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
labelGroupName
- Names a group of labels.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
public String getLabelGroupName()
Names a group of labels.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
public CreateLabelGroupRequest withLabelGroupName(String labelGroupName)
Names a group of labels.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
labelGroupName
- Names a group of labels.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
public List<String> getFaultCodes()
The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
public void setFaultCodes(Collection<String> faultCodes)
The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
faultCodes
- The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used
with this label group.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
public CreateLabelGroupRequest withFaultCodes(String... faultCodes)
The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
NOTE: This method appends the values to the existing list (if any). Use
setFaultCodes(java.util.Collection)
or withFaultCodes(java.util.Collection)
if you want to
override the existing values.
faultCodes
- The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used
with this label group.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
public CreateLabelGroupRequest withFaultCodes(Collection<String> faultCodes)
The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
faultCodes
- The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used
with this label group.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
public void setClientToken(String clientToken)
A unique identifier for the request to create a label group. If you do not set the client request token, Lookout for Equipment generates one.
clientToken
- A unique identifier for the request to create a label group. If you do not set the client request token,
Lookout for Equipment generates one.public String getClientToken()
A unique identifier for the request to create a label group. If you do not set the client request token, Lookout for Equipment generates one.
public CreateLabelGroupRequest withClientToken(String clientToken)
A unique identifier for the request to create a label group. If you do not set the client request token, Lookout for Equipment generates one.
clientToken
- A unique identifier for the request to create a label group. If you do not set the client request token,
Lookout for Equipment generates one.public List<Tag> getTags()
Tags that provide metadata about the label group you are creating.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
public void setTags(Collection<Tag> tags)
Tags that provide metadata about the label group you are creating.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
tags
- Tags that provide metadata about the label group you are creating.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
public CreateLabelGroupRequest withTags(Tag... tags)
Tags that provide metadata about the label group you are creating.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Tags that provide metadata about the label group you are creating.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
public CreateLabelGroupRequest withTags(Collection<Tag> tags)
Tags that provide metadata about the label group you are creating.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
tags
- Tags that provide metadata about the label group you are creating.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
public String toString()
toString
in class Object
Object.toString()
public CreateLabelGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()