@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServiceProfilesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListServiceProfilesResult() |
Modifier and Type | Method and Description |
---|---|
ListServiceProfilesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
|
List<ServiceProfile> |
getServiceProfileList()
The list of service profiles.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
|
void |
setServiceProfileList(Collection<ServiceProfile> serviceProfileList)
The list of service profiles.
|
String |
toString()
Returns a string representation of this object.
|
ListServiceProfilesResult |
withNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
|
ListServiceProfilesResult |
withServiceProfileList(Collection<ServiceProfile> serviceProfileList)
The list of service profiles.
|
ListServiceProfilesResult |
withServiceProfileList(ServiceProfile... serviceProfileList)
The list of service profiles.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
nextToken
- The token to use to get the next set of results, or null if there are no additional results.public String getNextToken()
The token to use to get the next set of results, or null if there are no additional results.
public ListServiceProfilesResult withNextToken(String nextToken)
The token to use to get the next set of results, or null if there are no additional results.
nextToken
- The token to use to get the next set of results, or null if there are no additional results.public List<ServiceProfile> getServiceProfileList()
The list of service profiles.
public void setServiceProfileList(Collection<ServiceProfile> serviceProfileList)
The list of service profiles.
serviceProfileList
- The list of service profiles.public ListServiceProfilesResult withServiceProfileList(ServiceProfile... serviceProfileList)
The list of service profiles.
NOTE: This method appends the values to the existing list (if any). Use
setServiceProfileList(java.util.Collection)
or withServiceProfileList(java.util.Collection)
if
you want to override the existing values.
serviceProfileList
- The list of service profiles.public ListServiceProfilesResult withServiceProfileList(Collection<ServiceProfile> serviceProfileList)
The list of service profiles.
serviceProfileList
- The list of service profiles.public String toString()
toString
in class Object
Object.toString()
public ListServiceProfilesResult clone()