@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCustomEntityTypesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCustomEntityTypesResult() |
Modifier and Type | Method and Description |
---|---|
ListCustomEntityTypesResult |
clone() |
boolean |
equals(Object obj) |
List<CustomEntityType> |
getCustomEntityTypes()
A list of
CustomEntityType objects representing custom patterns. |
String |
getNextToken()
A pagination token, if more results are available.
|
int |
hashCode() |
void |
setCustomEntityTypes(Collection<CustomEntityType> customEntityTypes)
A list of
CustomEntityType objects representing custom patterns. |
void |
setNextToken(String nextToken)
A pagination token, if more results are available.
|
String |
toString()
Returns a string representation of this object.
|
ListCustomEntityTypesResult |
withCustomEntityTypes(Collection<CustomEntityType> customEntityTypes)
A list of
CustomEntityType objects representing custom patterns. |
ListCustomEntityTypesResult |
withCustomEntityTypes(CustomEntityType... customEntityTypes)
A list of
CustomEntityType objects representing custom patterns. |
ListCustomEntityTypesResult |
withNextToken(String nextToken)
A pagination token, if more results are available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CustomEntityType> getCustomEntityTypes()
A list of CustomEntityType
objects representing custom patterns.
CustomEntityType
objects representing custom patterns.public void setCustomEntityTypes(Collection<CustomEntityType> customEntityTypes)
A list of CustomEntityType
objects representing custom patterns.
customEntityTypes
- A list of CustomEntityType
objects representing custom patterns.public ListCustomEntityTypesResult withCustomEntityTypes(CustomEntityType... customEntityTypes)
A list of CustomEntityType
objects representing custom patterns.
NOTE: This method appends the values to the existing list (if any). Use
setCustomEntityTypes(java.util.Collection)
or withCustomEntityTypes(java.util.Collection)
if
you want to override the existing values.
customEntityTypes
- A list of CustomEntityType
objects representing custom patterns.public ListCustomEntityTypesResult withCustomEntityTypes(Collection<CustomEntityType> customEntityTypes)
A list of CustomEntityType
objects representing custom patterns.
customEntityTypes
- A list of CustomEntityType
objects representing custom patterns.public void setNextToken(String nextToken)
A pagination token, if more results are available.
nextToken
- A pagination token, if more results are available.public String getNextToken()
A pagination token, if more results are available.
public ListCustomEntityTypesResult withNextToken(String nextToken)
A pagination token, if more results are available.
nextToken
- A pagination token, if more results are available.public String toString()
toString
in class Object
Object.toString()
public ListCustomEntityTypesResult clone()