@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTargetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListTargetsRequest() |
Modifier and Type | Method and Description |
---|---|
ListTargetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return.
|
String |
getNextToken()
A pagination token for the next page of results.
|
String |
getTargetGroupIdentifier()
The ID or Amazon Resource Name (ARN) of the target group.
|
List<Target> |
getTargets()
The targets to list.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
A pagination token for the next page of results.
|
void |
setTargetGroupIdentifier(String targetGroupIdentifier)
The ID or Amazon Resource Name (ARN) of the target group.
|
void |
setTargets(Collection<Target> targets)
The targets to list.
|
String |
toString()
Returns a string representation of this object.
|
ListTargetsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return.
|
ListTargetsRequest |
withNextToken(String nextToken)
A pagination token for the next page of results.
|
ListTargetsRequest |
withTargetGroupIdentifier(String targetGroupIdentifier)
The ID or Amazon Resource Name (ARN) of the target group.
|
ListTargetsRequest |
withTargets(Collection<Target> targets)
The targets to list.
|
ListTargetsRequest |
withTargets(Target... targets)
The targets to list.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults
- The maximum number of results to return.public Integer getMaxResults()
The maximum number of results to return.
public ListTargetsRequest withMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults
- The maximum number of results to return.public void setNextToken(String nextToken)
A pagination token for the next page of results.
nextToken
- A pagination token for the next page of results.public String getNextToken()
A pagination token for the next page of results.
public ListTargetsRequest withNextToken(String nextToken)
A pagination token for the next page of results.
nextToken
- A pagination token for the next page of results.public void setTargetGroupIdentifier(String targetGroupIdentifier)
The ID or Amazon Resource Name (ARN) of the target group.
targetGroupIdentifier
- The ID or Amazon Resource Name (ARN) of the target group.public String getTargetGroupIdentifier()
The ID or Amazon Resource Name (ARN) of the target group.
public ListTargetsRequest withTargetGroupIdentifier(String targetGroupIdentifier)
The ID or Amazon Resource Name (ARN) of the target group.
targetGroupIdentifier
- The ID or Amazon Resource Name (ARN) of the target group.public void setTargets(Collection<Target> targets)
The targets to list.
targets
- The targets to list.public ListTargetsRequest withTargets(Target... targets)
The targets to list.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
or withTargets(java.util.Collection)
if you want to override
the existing values.
targets
- The targets to list.public ListTargetsRequest withTargets(Collection<Target> targets)
The targets to list.
targets
- The targets to list.public String toString()
toString
in class Object
Object.toString()
public ListTargetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()