@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachTrafficSourcesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AttachTrafficSourcesRequest() |
| Modifier and Type | Method and Description |
|---|---|
AttachTrafficSourcesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
List<TrafficSourceIdentifier> |
getTrafficSources()
The unique identifiers of one or more traffic sources.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setTrafficSources(Collection<TrafficSourceIdentifier> trafficSources)
The unique identifiers of one or more traffic sources.
|
String |
toString()
Returns a string representation of this object.
|
AttachTrafficSourcesRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
AttachTrafficSourcesRequest |
withTrafficSources(Collection<TrafficSourceIdentifier> trafficSources)
The unique identifiers of one or more traffic sources.
|
AttachTrafficSourcesRequest |
withTrafficSources(TrafficSourceIdentifier... trafficSources)
The unique identifiers of one or more traffic sources.
|
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, withSdkRequestTimeoutpublic void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName - The name of the Auto Scaling group.public String getAutoScalingGroupName()
The name of the Auto Scaling group.
public AttachTrafficSourcesRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName - The name of the Auto Scaling group.public List<TrafficSourceIdentifier> getTrafficSources()
The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.
public void setTrafficSources(Collection<TrafficSourceIdentifier> trafficSources)
The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.
trafficSources - The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.public AttachTrafficSourcesRequest withTrafficSources(TrafficSourceIdentifier... trafficSources)
The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.
NOTE: This method appends the values to the existing list (if any). Use
setTrafficSources(java.util.Collection) or withTrafficSources(java.util.Collection) if you want
to override the existing values.
trafficSources - The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.public AttachTrafficSourcesRequest withTrafficSources(Collection<TrafficSourceIdentifier> trafficSources)
The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.
trafficSources - The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.public String toString()
toString in class ObjectObject.toString()public AttachTrafficSourcesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()