@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterTargetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RegisterTargetsRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterTargetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getTargetGroupIdentifier()
The ID or Amazon Resource Name (ARN) of the target group.
|
List<Target> |
getTargets()
The targets.
|
int |
hashCode() |
void |
setTargetGroupIdentifier(String targetGroupIdentifier)
The ID or Amazon Resource Name (ARN) of the target group.
|
void |
setTargets(Collection<Target> targets)
The targets.
|
String |
toString()
Returns a string representation of this object.
|
RegisterTargetsRequest |
withTargetGroupIdentifier(String targetGroupIdentifier)
The ID or Amazon Resource Name (ARN) of the target group.
|
RegisterTargetsRequest |
withTargets(Collection<Target> targets)
The targets.
|
RegisterTargetsRequest |
withTargets(Target... targets)
The targets.
|
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 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 RegisterTargetsRequest 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.
targets
- The targets.public RegisterTargetsRequest withTargets(Target... targets)
The targets.
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.public RegisterTargetsRequest withTargets(Collection<Target> targets)
The targets.
targets
- The targets.public String toString()
toString
in class Object
Object.toString()
public RegisterTargetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()