public class ListServicesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
The
nextToken value to include in a future
ListServices request. |
private SdkInternalList<java.lang.String> |
serviceArns
The list of full Amazon Resource Name (ARN) entries for each service
associated with the specified cluster.
|
Constructor and Description |
---|
ListServicesResult() |
Modifier and Type | Method and Description |
---|---|
ListServicesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
The
nextToken value to include in a future
ListServices request. |
java.util.List<java.lang.String> |
getServiceArns()
The list of full Amazon Resource Name (ARN) entries for each service
associated with the specified cluster.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
The
nextToken value to include in a future
ListServices request. |
void |
setServiceArns(java.util.Collection<java.lang.String> serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service
associated with the specified cluster.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListServicesResult |
withNextToken(java.lang.String nextToken)
The
nextToken value to include in a future
ListServices request. |
ListServicesResult |
withServiceArns(java.util.Collection<java.lang.String> serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service
associated with the specified cluster.
|
ListServicesResult |
withServiceArns(java.lang.String... serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service
associated with the specified cluster.
|
private SdkInternalList<java.lang.String> serviceArns
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
private java.lang.String nextToken
The nextToken
value to include in a future
ListServices
request. When the results of a
ListServices
request exceed maxResults
, this
value can be used to retrieve the next page of results. This value is
null
when there are no more results to return.
public java.util.List<java.lang.String> getServiceArns()
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
public void setServiceArns(java.util.Collection<java.lang.String> serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
serviceArns
- The list of full Amazon Resource Name (ARN) entries for each
service associated with the specified cluster.public ListServicesResult withServiceArns(java.lang.String... serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
NOTE: This method appends the values to the existing list (if
any). Use setServiceArns(java.util.Collection)
or
withServiceArns(java.util.Collection)
if you want to override
the existing values.
serviceArns
- The list of full Amazon Resource Name (ARN) entries for each
service associated with the specified cluster.public ListServicesResult withServiceArns(java.util.Collection<java.lang.String> serviceArns)
The list of full Amazon Resource Name (ARN) entries for each service associated with the specified cluster.
serviceArns
- The list of full Amazon Resource Name (ARN) entries for each
service associated with the specified cluster.public void setNextToken(java.lang.String nextToken)
The nextToken
value to include in a future
ListServices
request. When the results of a
ListServices
request exceed maxResults
, this
value can be used 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
ListServices
request. When the results of a
ListServices
request exceed maxResults
,
this value can be used to retrieve the next page of results. This
value is null
when there are no more results to
return.public java.lang.String getNextToken()
The nextToken
value to include in a future
ListServices
request. When the results of a
ListServices
request exceed maxResults
, this
value can be used 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
ListServices
request. When the results of a
ListServices
request exceed maxResults
,
this value can be used to retrieve the next page of results. This
value is null
when there are no more results to
return.public ListServicesResult withNextToken(java.lang.String nextToken)
The nextToken
value to include in a future
ListServices
request. When the results of a
ListServices
request exceed maxResults
, this
value can be used 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
ListServices
request. When the results of a
ListServices
request exceed maxResults
,
this value can be used to retrieve the next page of results. This
value is null
when there are no more results to
return.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListServicesResult clone()
clone
in class java.lang.Object