@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListFargateProfilesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListFargateProfilesResult() |
Modifier and Type | Method and Description |
---|---|
ListFargateProfilesResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getFargateProfileNames()
A list of all of the Fargate profiles associated with the specified cluster.
|
String |
getNextToken()
The
nextToken value to include in a future ListFargateProfiles request. |
int |
hashCode() |
void |
setFargateProfileNames(Collection<String> fargateProfileNames)
A list of all of the Fargate profiles associated with the specified cluster.
|
void |
setNextToken(String nextToken)
The
nextToken value to include in a future ListFargateProfiles request. |
String |
toString()
Returns a string representation of this object.
|
ListFargateProfilesResult |
withFargateProfileNames(Collection<String> fargateProfileNames)
A list of all of the Fargate profiles associated with the specified cluster.
|
ListFargateProfilesResult |
withFargateProfileNames(String... fargateProfileNames)
A list of all of the Fargate profiles associated with the specified cluster.
|
ListFargateProfilesResult |
withNextToken(String nextToken)
The
nextToken value to include in a future ListFargateProfiles request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getFargateProfileNames()
A list of all of the Fargate profiles associated with the specified cluster.
public void setFargateProfileNames(Collection<String> fargateProfileNames)
A list of all of the Fargate profiles associated with the specified cluster.
fargateProfileNames
- A list of all of the Fargate profiles associated with the specified cluster.public ListFargateProfilesResult withFargateProfileNames(String... fargateProfileNames)
A list of all of the Fargate profiles associated with the specified cluster.
NOTE: This method appends the values to the existing list (if any). Use
setFargateProfileNames(java.util.Collection)
or withFargateProfileNames(java.util.Collection)
if you want to override the existing values.
fargateProfileNames
- A list of all of the Fargate profiles associated with the specified cluster.public ListFargateProfilesResult withFargateProfileNames(Collection<String> fargateProfileNames)
A list of all of the Fargate profiles associated with the specified cluster.
fargateProfileNames
- A list of all of the Fargate profiles associated with the specified cluster.public void setNextToken(String nextToken)
The nextToken
value to include in a future ListFargateProfiles
request. When the
results of a ListFargateProfiles
request exceed maxResults
, you can use this value to
retrieve the next page of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future ListFargateProfiles
request. When the
results of a ListFargateProfiles
request exceed maxResults
, you can use this
value to retrieve the next page of results. This value is null
when there are no more results
to return.public String getNextToken()
The nextToken
value to include in a future ListFargateProfiles
request. When the
results of a ListFargateProfiles
request exceed maxResults
, you can use this value to
retrieve the next page of results. This value is null
when there are no more results to return.
nextToken
value to include in a future ListFargateProfiles
request. When
the results of a ListFargateProfiles
request exceed maxResults
, you can use
this value to retrieve the next page of results. This value is null
when there are no more
results to return.public ListFargateProfilesResult withNextToken(String nextToken)
The nextToken
value to include in a future ListFargateProfiles
request. When the
results of a ListFargateProfiles
request exceed maxResults
, you can use this value to
retrieve the next page of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future ListFargateProfiles
request. When the
results of a ListFargateProfiles
request exceed maxResults
, you can use this
value to retrieve the next page of results. This value is null
when there are no more results
to return.public String toString()
toString
in class Object
Object.toString()
public ListFargateProfilesResult clone()