@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateListRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateListRequest() |
Modifier and Type | Method and Description |
---|---|
CreateListRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The description of the list.
|
List<String> |
getElements()
The names of the elements, if providing.
|
String |
getName()
The name of the list.
|
List<Tag> |
getTags()
A collection of the key and value pairs.
|
String |
getVariableType()
The variable type of the list.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the list.
|
void |
setElements(Collection<String> elements)
The names of the elements, if providing.
|
void |
setName(String name)
The name of the list.
|
void |
setTags(Collection<Tag> tags)
A collection of the key and value pairs.
|
void |
setVariableType(String variableType)
The variable type of the list.
|
String |
toString()
Returns a string representation of this object.
|
CreateListRequest |
withDescription(String description)
The description of the list.
|
CreateListRequest |
withElements(Collection<String> elements)
The names of the elements, if providing.
|
CreateListRequest |
withElements(String... elements)
The names of the elements, if providing.
|
CreateListRequest |
withName(String name)
The name of the list.
|
CreateListRequest |
withTags(Collection<Tag> tags)
A collection of the key and value pairs.
|
CreateListRequest |
withTags(Tag... tags)
A collection of the key and value pairs.
|
CreateListRequest |
withVariableType(String variableType)
The variable type of the list.
|
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 setName(String name)
The name of the list.
name
- The name of the list.public String getName()
The name of the list.
public CreateListRequest withName(String name)
The name of the list.
name
- The name of the list.public List<String> getElements()
The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.
public void setElements(Collection<String> elements)
The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.
elements
- The names of the elements, if providing. You can also create an empty list and add elements later using
the UpdateList API.public CreateListRequest withElements(String... elements)
The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.
NOTE: This method appends the values to the existing list (if any). Use
setElements(java.util.Collection)
or withElements(java.util.Collection)
if you want to override
the existing values.
elements
- The names of the elements, if providing. You can also create an empty list and add elements later using
the UpdateList API.public CreateListRequest withElements(Collection<String> elements)
The names of the elements, if providing. You can also create an empty list and add elements later using the UpdateList API.
elements
- The names of the elements, if providing. You can also create an empty list and add elements later using
the UpdateList API.public void setVariableType(String variableType)
The variable type of the list. You can only assign the variable type with String data type. For more information, see Variable types.
variableType
- The variable type of the list. You can only assign the variable type with String data type. For more
information, see Variable
types.public String getVariableType()
The variable type of the list. You can only assign the variable type with String data type. For more information, see Variable types.
public CreateListRequest withVariableType(String variableType)
The variable type of the list. You can only assign the variable type with String data type. For more information, see Variable types.
variableType
- The variable type of the list. You can only assign the variable type with String data type. For more
information, see Variable
types.public void setDescription(String description)
The description of the list.
description
- The description of the list.public String getDescription()
The description of the list.
public CreateListRequest withDescription(String description)
The description of the list.
description
- The description of the list.public List<Tag> getTags()
A collection of the key and value pairs.
public void setTags(Collection<Tag> tags)
A collection of the key and value pairs.
tags
- A collection of the key and value pairs.public CreateListRequest withTags(Tag... tags)
A collection of the key and value pairs.
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
- A collection of the key and value pairs.public CreateListRequest withTags(Collection<Tag> tags)
A collection of the key and value pairs.
tags
- A collection of the key and value pairs.public String toString()
toString
in class Object
Object.toString()
public CreateListRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()