@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddAssociationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
AddAssociationResult() |
| Modifier and Type | Method and Description |
|---|---|
AddAssociationResult |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationArn()
The Amazon Resource Name (ARN) of the destination.
|
String |
getSourceArn()
The ARN of the source.
|
int |
hashCode() |
void |
setDestinationArn(String destinationArn)
The Amazon Resource Name (ARN) of the destination.
|
void |
setSourceArn(String sourceArn)
The ARN of the source.
|
String |
toString()
Returns a string representation of this object.
|
AddAssociationResult |
withDestinationArn(String destinationArn)
The Amazon Resource Name (ARN) of the destination.
|
AddAssociationResult |
withSourceArn(String sourceArn)
The ARN of the source.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setSourceArn(String sourceArn)
The ARN of the source.
sourceArn - The ARN of the source.public String getSourceArn()
The ARN of the source.
public AddAssociationResult withSourceArn(String sourceArn)
The ARN of the source.
sourceArn - The ARN of the source.public void setDestinationArn(String destinationArn)
The Amazon Resource Name (ARN) of the destination.
destinationArn - The Amazon Resource Name (ARN) of the destination.public String getDestinationArn()
The Amazon Resource Name (ARN) of the destination.
public AddAssociationResult withDestinationArn(String destinationArn)
The Amazon Resource Name (ARN) of the destination.
destinationArn - The Amazon Resource Name (ARN) of the destination.public String toString()
toString in class ObjectObject.toString()public AddAssociationResult clone()