@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEntityTypesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetEntityTypesResult() |
Modifier and Type | Method and Description |
---|---|
GetEntityTypesResult |
clone() |
boolean |
equals(Object obj) |
List<EntityType> |
getEntityTypes()
An array of entity types.
|
String |
getNextToken()
The next page token.
|
int |
hashCode() |
void |
setEntityTypes(Collection<EntityType> entityTypes)
An array of entity types.
|
void |
setNextToken(String nextToken)
The next page token.
|
String |
toString()
Returns a string representation of this object.
|
GetEntityTypesResult |
withEntityTypes(Collection<EntityType> entityTypes)
An array of entity types.
|
GetEntityTypesResult |
withEntityTypes(EntityType... entityTypes)
An array of entity types.
|
GetEntityTypesResult |
withNextToken(String nextToken)
The next page token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EntityType> getEntityTypes()
An array of entity types.
public void setEntityTypes(Collection<EntityType> entityTypes)
An array of entity types.
entityTypes
- An array of entity types.public GetEntityTypesResult withEntityTypes(EntityType... entityTypes)
An array of entity types.
NOTE: This method appends the values to the existing list (if any). Use
setEntityTypes(java.util.Collection)
or withEntityTypes(java.util.Collection)
if you want to
override the existing values.
entityTypes
- An array of entity types.public GetEntityTypesResult withEntityTypes(Collection<EntityType> entityTypes)
An array of entity types.
entityTypes
- An array of entity types.public void setNextToken(String nextToken)
The next page token.
nextToken
- The next page token.public String getNextToken()
The next page token.
public GetEntityTypesResult withNextToken(String nextToken)
The next page token.
nextToken
- The next page token.public String toString()
toString
in class Object
Object.toString()
public GetEntityTypesResult clone()