@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 Amazon Web Services) or
custom (created in this Amazon Web Services 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 Amazon Web Services) or
custom (created in this Amazon Web Services 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 Amazon Web Services) or
custom (created in this Amazon Web Services account). |
OriginRequestPolicySummary |
withType(String type)
The type of origin request policy, either
managed (created by Amazon Web Services) or
custom (created in this Amazon Web Services account). |
public void setType(String type)
The type of origin request policy, either managed (created by Amazon Web Services) or
custom (created in this Amazon Web Services account).
type - The type of origin request policy, either managed (created by Amazon Web Services) or
custom (created in this Amazon Web Services account).OriginRequestPolicyTypepublic String getType()
The type of origin request policy, either managed (created by Amazon Web Services) or
custom (created in this Amazon Web Services account).
managed (created by Amazon Web Services) or
custom (created in this Amazon Web Services account).OriginRequestPolicyTypepublic OriginRequestPolicySummary withType(String type)
The type of origin request policy, either managed (created by Amazon Web Services) or
custom (created in this Amazon Web Services account).
type - The type of origin request policy, either managed (created by Amazon Web Services) or
custom (created in this Amazon Web Services account).OriginRequestPolicyTypepublic OriginRequestPolicySummary withType(OriginRequestPolicyType type)
The type of origin request policy, either managed (created by Amazon Web Services) or
custom (created in this Amazon Web Services account).
type - The type of origin request policy, either managed (created by Amazon Web Services) or
custom (created in this Amazon Web Services 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.