@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddFlowSourcesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AddFlowSourcesRequest() |
Modifier and Type | Method and Description |
---|---|
AddFlowSourcesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFlowArn()
The flow that you want to mutate.
|
List<SetSourceRequest> |
getSources()
A list of sources that you want to add.
|
int |
hashCode() |
void |
setFlowArn(String flowArn)
The flow that you want to mutate.
|
void |
setSources(Collection<SetSourceRequest> sources)
A list of sources that you want to add.
|
String |
toString()
Returns a string representation of this object.
|
AddFlowSourcesRequest |
withFlowArn(String flowArn)
The flow that you want to mutate.
|
AddFlowSourcesRequest |
withSources(Collection<SetSourceRequest> sources)
A list of sources that you want to add.
|
AddFlowSourcesRequest |
withSources(SetSourceRequest... sources)
A list of sources that you want to add.
|
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 setFlowArn(String flowArn)
flowArn
- The flow that you want to mutate.public String getFlowArn()
public AddFlowSourcesRequest withFlowArn(String flowArn)
flowArn
- The flow that you want to mutate.public List<SetSourceRequest> getSources()
public void setSources(Collection<SetSourceRequest> sources)
sources
- A list of sources that you want to add.public AddFlowSourcesRequest withSources(SetSourceRequest... sources)
NOTE: This method appends the values to the existing list (if any). Use
setSources(java.util.Collection)
or withSources(java.util.Collection)
if you want to override
the existing values.
sources
- A list of sources that you want to add.public AddFlowSourcesRequest withSources(Collection<SetSourceRequest> sources)
sources
- A list of sources that you want to add.public String toString()
toString
in class Object
Object.toString()
public AddFlowSourcesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()