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