@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateBridgeStateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateBridgeStateResult() |
Modifier and Type | Method and Description |
---|---|
UpdateBridgeStateResult |
clone() |
boolean |
equals(Object obj) |
String |
getBridgeArn()
The Amazon Resource Number (ARN) of the bridge.
|
String |
getDesiredState()
The state of the bridge.
|
int |
hashCode() |
void |
setBridgeArn(String bridgeArn)
The Amazon Resource Number (ARN) of the bridge.
|
void |
setDesiredState(String desiredState)
The state of the bridge.
|
String |
toString()
Returns a string representation of this object.
|
UpdateBridgeStateResult |
withBridgeArn(String bridgeArn)
The Amazon Resource Number (ARN) of the bridge.
|
UpdateBridgeStateResult |
withDesiredState(DesiredState desiredState)
The state of the bridge.
|
UpdateBridgeStateResult |
withDesiredState(String desiredState)
The state of the bridge.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBridgeArn(String bridgeArn)
bridgeArn
- The Amazon Resource Number (ARN) of the bridge.public String getBridgeArn()
public UpdateBridgeStateResult withBridgeArn(String bridgeArn)
bridgeArn
- The Amazon Resource Number (ARN) of the bridge.public void setDesiredState(String desiredState)
desiredState
- The state of the bridge. ACTIVE or STANDBY.DesiredState
public String getDesiredState()
DesiredState
public UpdateBridgeStateResult withDesiredState(String desiredState)
desiredState
- The state of the bridge. ACTIVE or STANDBY.DesiredState
public UpdateBridgeStateResult withDesiredState(DesiredState desiredState)
desiredState
- The state of the bridge. ACTIVE or STANDBY.DesiredState
public String toString()
toString
in class Object
Object.toString()
public UpdateBridgeStateResult clone()