@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).OriginRequestPolicyTypepublic 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).OriginRequestPolicyTypepublic 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).OriginRequestPolicyTypepublic 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).OriginRequestPolicyTypepublic 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 ObjectObject.toString()public OriginRequestPolicySummary clone()
Copyright © 2021. All rights reserved.