@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEntitlementResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateEntitlementResult() |
Modifier and Type | Method and Description |
---|---|
CreateEntitlementResult |
clone() |
boolean |
equals(Object obj) |
Entitlement |
getEntitlement()
The entitlement.
|
int |
hashCode() |
void |
setEntitlement(Entitlement entitlement)
The entitlement.
|
String |
toString()
Returns a string representation of this object.
|
CreateEntitlementResult |
withEntitlement(Entitlement entitlement)
The entitlement.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setEntitlement(Entitlement entitlement)
The entitlement.
entitlement
- The entitlement.public Entitlement getEntitlement()
The entitlement.
public CreateEntitlementResult withEntitlement(Entitlement entitlement)
The entitlement.
entitlement
- The entitlement.public String toString()
toString
in class Object
Object.toString()
public CreateEntitlementResult clone()