@Generated(value="software.amazon.awssdk:codegen") public final class OriginAccessControlSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OriginAccessControlSummary.Builder,OriginAccessControlSummary>
A CloudFront origin access control.
| Modifier and Type | Class and Description |
|---|---|
static interface |
OriginAccessControlSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static OriginAccessControlSummary.Builder |
builder() |
String |
description()
A description of the origin access control.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier of the origin access control.
|
String |
name()
A unique name that identifies the origin access control.
|
OriginAccessControlOriginTypes |
originAccessControlOriginType()
The type of origin that this origin access control is for.
|
String |
originAccessControlOriginTypeAsString()
The type of origin that this origin access control is for.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OriginAccessControlSummary.Builder> |
serializableBuilderClass() |
OriginAccessControlSigningBehaviors |
signingBehavior()
A value that specifies which requests CloudFront signs (adds authentication information to).
|
String |
signingBehaviorAsString()
A value that specifies which requests CloudFront signs (adds authentication information to).
|
OriginAccessControlSigningProtocols |
signingProtocol()
The signing protocol of the origin access control.
|
String |
signingProtocolAsString()
The signing protocol of the origin access control.
|
OriginAccessControlSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The unique identifier of the origin access control.
public final String description()
A description of the origin access control.
public final String name()
A unique name that identifies the origin access control.
public final OriginAccessControlSigningProtocols signingProtocol()
The signing protocol of the origin access control. The signing protocol determines how CloudFront signs
(authenticates) requests. The only valid value is sigv4.
If the service returns an enum value that is not available in the current SDK version, signingProtocol
will return OriginAccessControlSigningProtocols.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from signingProtocolAsString().
sigv4.OriginAccessControlSigningProtocolspublic final String signingProtocolAsString()
The signing protocol of the origin access control. The signing protocol determines how CloudFront signs
(authenticates) requests. The only valid value is sigv4.
If the service returns an enum value that is not available in the current SDK version, signingProtocol
will return OriginAccessControlSigningProtocols.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from signingProtocolAsString().
sigv4.OriginAccessControlSigningProtocolspublic final OriginAccessControlSigningBehaviors signingBehavior()
A value that specifies which requests CloudFront signs (adds authentication information to). This field can have one of the following values:
never – CloudFront doesn't sign any origin requests.
always – CloudFront signs all origin requests, overwriting the Authorization header
from the viewer request if necessary.
no-override – If the viewer request doesn't contain the Authorization header,
CloudFront signs the origin request. If the viewer request contains the Authorization header,
CloudFront doesn't sign the origin request, but instead passes along the Authorization header that
it received in the viewer request.
If the service returns an enum value that is not available in the current SDK version, signingBehavior
will return OriginAccessControlSigningBehaviors.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from signingBehaviorAsString().
never – CloudFront doesn't sign any origin requests.
always – CloudFront signs all origin requests, overwriting the Authorization
header from the viewer request if necessary.
no-override – If the viewer request doesn't contain the Authorization header,
CloudFront signs the origin request. If the viewer request contains the Authorization
header, CloudFront doesn't sign the origin request, but instead passes along the
Authorization header that it received in the viewer request.
OriginAccessControlSigningBehaviorspublic final String signingBehaviorAsString()
A value that specifies which requests CloudFront signs (adds authentication information to). This field can have one of the following values:
never – CloudFront doesn't sign any origin requests.
always – CloudFront signs all origin requests, overwriting the Authorization header
from the viewer request if necessary.
no-override – If the viewer request doesn't contain the Authorization header,
CloudFront signs the origin request. If the viewer request contains the Authorization header,
CloudFront doesn't sign the origin request, but instead passes along the Authorization header that
it received in the viewer request.
If the service returns an enum value that is not available in the current SDK version, signingBehavior
will return OriginAccessControlSigningBehaviors.UNKNOWN_TO_SDK_VERSION. The raw value returned by the
service is available from signingBehaviorAsString().
never – CloudFront doesn't sign any origin requests.
always – CloudFront signs all origin requests, overwriting the Authorization
header from the viewer request if necessary.
no-override – If the viewer request doesn't contain the Authorization header,
CloudFront signs the origin request. If the viewer request contains the Authorization
header, CloudFront doesn't sign the origin request, but instead passes along the
Authorization header that it received in the viewer request.
OriginAccessControlSigningBehaviorspublic final OriginAccessControlOriginTypes originAccessControlOriginType()
The type of origin that this origin access control is for.
If the service returns an enum value that is not available in the current SDK version,
originAccessControlOriginType will return OriginAccessControlOriginTypes.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from originAccessControlOriginTypeAsString().
OriginAccessControlOriginTypespublic final String originAccessControlOriginTypeAsString()
The type of origin that this origin access control is for.
If the service returns an enum value that is not available in the current SDK version,
originAccessControlOriginType will return OriginAccessControlOriginTypes.UNKNOWN_TO_SDK_VERSION.
The raw value returned by the service is available from originAccessControlOriginTypeAsString().
OriginAccessControlOriginTypespublic OriginAccessControlSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<OriginAccessControlSummary.Builder,OriginAccessControlSummary>public static OriginAccessControlSummary.Builder builder()
public static Class<? extends OriginAccessControlSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.