@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddBridgeSourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AddBridgeSourcesResult() |
Modifier and Type | Method and Description |
---|---|
AddBridgeSourcesResult |
clone() |
boolean |
equals(Object obj) |
String |
getBridgeArn()
The Amazon Resource Number (ARN) of the bridge.
|
List<BridgeSource> |
getSources()
The sources that you added to this bridge.
|
int |
hashCode() |
void |
setBridgeArn(String bridgeArn)
The Amazon Resource Number (ARN) of the bridge.
|
void |
setSources(Collection<BridgeSource> sources)
The sources that you added to this bridge.
|
String |
toString()
Returns a string representation of this object.
|
AddBridgeSourcesResult |
withBridgeArn(String bridgeArn)
The Amazon Resource Number (ARN) of the bridge.
|
AddBridgeSourcesResult |
withSources(BridgeSource... sources)
The sources that you added to this bridge.
|
AddBridgeSourcesResult |
withSources(Collection<BridgeSource> sources)
The sources that you added to this bridge.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBridgeArn(String bridgeArn)
bridgeArn
- The Amazon Resource Number (ARN) of the bridge.public String getBridgeArn()
public AddBridgeSourcesResult withBridgeArn(String bridgeArn)
bridgeArn
- The Amazon Resource Number (ARN) of the bridge.public List<BridgeSource> getSources()
public void setSources(Collection<BridgeSource> sources)
sources
- The sources that you added to this bridge.public AddBridgeSourcesResult withSources(BridgeSource... 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 sources that you added to this bridge.public AddBridgeSourcesResult withSources(Collection<BridgeSource> sources)
sources
- The sources that you added to this bridge.public String toString()
toString
in class Object
Object.toString()
public AddBridgeSourcesResult clone()