@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateOriginRequestPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateOriginRequestPolicyResult() |
Modifier and Type | Method and Description |
---|---|
CreateOriginRequestPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getETag()
The current version of the origin request policy.
|
String |
getLocation()
The fully qualified URI of the origin request policy just created.
|
OriginRequestPolicy |
getOriginRequestPolicy()
An origin request policy.
|
int |
hashCode() |
void |
setETag(String eTag)
The current version of the origin request policy.
|
void |
setLocation(String location)
The fully qualified URI of the origin request policy just created.
|
void |
setOriginRequestPolicy(OriginRequestPolicy originRequestPolicy)
An origin request policy.
|
String |
toString()
Returns a string representation of this object.
|
CreateOriginRequestPolicyResult |
withETag(String eTag)
The current version of the origin request policy.
|
CreateOriginRequestPolicyResult |
withLocation(String location)
The fully qualified URI of the origin request policy just created.
|
CreateOriginRequestPolicyResult |
withOriginRequestPolicy(OriginRequestPolicy originRequestPolicy)
An origin request policy.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setOriginRequestPolicy(OriginRequestPolicy originRequestPolicy)
An origin request policy.
originRequestPolicy
- An origin request policy.public OriginRequestPolicy getOriginRequestPolicy()
An origin request policy.
public CreateOriginRequestPolicyResult withOriginRequestPolicy(OriginRequestPolicy originRequestPolicy)
An origin request policy.
originRequestPolicy
- An origin request policy.public void setLocation(String location)
The fully qualified URI of the origin request policy just created.
location
- The fully qualified URI of the origin request policy just created.public String getLocation()
The fully qualified URI of the origin request policy just created.
public CreateOriginRequestPolicyResult withLocation(String location)
The fully qualified URI of the origin request policy just created.
location
- The fully qualified URI of the origin request policy just created.public void setETag(String eTag)
The current version of the origin request policy.
eTag
- The current version of the origin request policy.public String getETag()
The current version of the origin request policy.
public CreateOriginRequestPolicyResult withETag(String eTag)
The current version of the origin request policy.
eTag
- The current version of the origin request policy.public String toString()
toString
in class Object
Object.toString()
public CreateOriginRequestPolicyResult clone()