@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDistributionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateDistributionResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateDistributionResult |
clone() |
boolean |
equals(Object obj) |
LightsailDistribution |
getDistribution()
An object that describes the distribution created.
|
Operation |
getOperation()
An array of objects that describe the result of the action, such as the status of the request, the timestamp of
the request, and the resources affected by the request.
|
int |
hashCode() |
void |
setDistribution(LightsailDistribution distribution)
An object that describes the distribution created.
|
void |
setOperation(Operation operation)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of
the request, and the resources affected by the request.
|
String |
toString()
Returns a string representation of this object.
|
CreateDistributionResult |
withDistribution(LightsailDistribution distribution)
An object that describes the distribution created.
|
CreateDistributionResult |
withOperation(Operation operation)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of
the request, and the resources affected by the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setDistribution(LightsailDistribution distribution)
An object that describes the distribution created.
distribution - An object that describes the distribution created.public LightsailDistribution getDistribution()
An object that describes the distribution created.
public CreateDistributionResult withDistribution(LightsailDistribution distribution)
An object that describes the distribution created.
distribution - An object that describes the distribution created.public void setOperation(Operation operation)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
operation - An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.public Operation getOperation()
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
public CreateDistributionResult withOperation(Operation operation)
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
operation - An array of objects that describe the result of the action, such as the status of the request, the
timestamp of the request, and the resources affected by the request.public String toString()
toString in class ObjectObject.toString()public CreateDistributionResult clone()