@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMembershipResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateMembershipResult() |
Modifier and Type | Method and Description |
---|---|
CreateMembershipResult |
clone() |
boolean |
equals(Object obj) |
Membership |
getMembership()
The membership that was created.
|
int |
hashCode() |
void |
setMembership(Membership membership)
The membership that was created.
|
String |
toString()
Returns a string representation of this object.
|
CreateMembershipResult |
withMembership(Membership membership)
The membership that was created.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setMembership(Membership membership)
The membership that was created.
membership
- The membership that was created.public Membership getMembership()
The membership that was created.
public CreateMembershipResult withMembership(Membership membership)
The membership that was created.
membership
- The membership that was created.public String toString()
toString
in class Object
Object.toString()
public CreateMembershipResult clone()