@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OriginRequestPolicySummary extends Object implements Serializable, Cloneable
Contains an origin request policy.
Constructor and Description |
---|
OriginRequestPolicySummary() |
Modifier and Type | Method and Description |
---|---|
OriginRequestPolicySummary |
clone() |
boolean |
equals(Object obj) |
OriginRequestPolicy |
getOriginRequestPolicy()
The origin request policy.
|
String |
getType()
The type of origin request policy, either
managed (created by AWS) or custom (created
in this AWS account). |
int |
hashCode() |
void |
setOriginRequestPolicy(OriginRequestPolicy originRequestPolicy)
The origin request policy.
|
void |
setType(String type)
The type of origin request policy, either
managed (created by AWS) or custom (created
in this AWS account). |
String |
toString()
Returns a string representation of this object.
|
OriginRequestPolicySummary |
withOriginRequestPolicy(OriginRequestPolicy originRequestPolicy)
The origin request policy.
|
OriginRequestPolicySummary |
withType(OriginRequestPolicyType type)
The type of origin request policy, either
managed (created by AWS) or custom (created
in this AWS account). |
OriginRequestPolicySummary |
withType(String type)
The type of origin request policy, either
managed (created by AWS) or custom (created
in this AWS account). |
public void setType(String type)
The type of origin request policy, either managed
(created by AWS) or custom
(created
in this AWS account).
type
- The type of origin request policy, either managed
(created by AWS) or custom
(created in this AWS account).OriginRequestPolicyType
public String getType()
The type of origin request policy, either managed
(created by AWS) or custom
(created
in this AWS account).
managed
(created by AWS) or custom
(created in this AWS account).OriginRequestPolicyType
public OriginRequestPolicySummary withType(String type)
The type of origin request policy, either managed
(created by AWS) or custom
(created
in this AWS account).
type
- The type of origin request policy, either managed
(created by AWS) or custom
(created in this AWS account).OriginRequestPolicyType
public OriginRequestPolicySummary withType(OriginRequestPolicyType type)
The type of origin request policy, either managed
(created by AWS) or custom
(created
in this AWS account).
type
- The type of origin request policy, either managed
(created by AWS) or custom
(created in this AWS account).OriginRequestPolicyType
public void setOriginRequestPolicy(OriginRequestPolicy originRequestPolicy)
The origin request policy.
originRequestPolicy
- The origin request policy.public OriginRequestPolicy getOriginRequestPolicy()
The origin request policy.
public OriginRequestPolicySummary withOriginRequestPolicy(OriginRequestPolicy originRequestPolicy)
The origin request policy.
originRequestPolicy
- The origin request policy.public String toString()
toString
in class Object
Object.toString()
public OriginRequestPolicySummary clone()