@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddFlowSourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
AddFlowSourcesResult() |
| Modifier and Type | Method and Description |
|---|---|
AddFlowSourcesResult |
clone() |
boolean |
equals(Object obj) |
String |
getFlowArn()
The ARN of the flow that these sources were added to.
|
List<Source> |
getSources()
The details of the newly added sources.
|
int |
hashCode() |
void |
setFlowArn(String flowArn)
The ARN of the flow that these sources were added to.
|
void |
setSources(Collection<Source> sources)
The details of the newly added sources.
|
String |
toString()
Returns a string representation of this object.
|
AddFlowSourcesResult |
withFlowArn(String flowArn)
The ARN of the flow that these sources were added to.
|
AddFlowSourcesResult |
withSources(Collection<Source> sources)
The details of the newly added sources.
|
AddFlowSourcesResult |
withSources(Source... sources)
The details of the newly added sources.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setFlowArn(String flowArn)
flowArn - The ARN of the flow that these sources were added to.public String getFlowArn()
public AddFlowSourcesResult withFlowArn(String flowArn)
flowArn - The ARN of the flow that these sources were added to.public List<Source> getSources()
public void setSources(Collection<Source> sources)
sources - The details of the newly added sources.public AddFlowSourcesResult withSources(Source... 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 - The details of the newly added sources.public AddFlowSourcesResult withSources(Collection<Source> sources)
sources - The details of the newly added sources.public String toString()
toString in class ObjectObject.toString()public AddFlowSourcesResult clone()