@Generated(value="software.amazon.awssdk:codegen") public final class InputOrigin extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InputOrigin.Builder,InputOrigin>
Describes the origin resource of an Amazon Lightsail content delivery network (CDN) distribution.
An origin can be a Lightsail instance, bucket, or load balancer. A distribution pulls content from an origin, caches it, and serves it to viewers via a worldwide network of edge servers.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InputOrigin.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InputOrigin.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the origin resource.
|
OriginProtocolPolicyEnum |
protocolPolicy()
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull
content.
|
String |
protocolPolicyAsString()
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull
content.
|
RegionName |
regionName()
The AWS Region name of the origin resource.
|
String |
regionNameAsString()
The AWS Region name of the origin resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InputOrigin.Builder> |
serializableBuilderClass() |
InputOrigin.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the origin resource.
public final RegionName regionName()
The AWS Region name of the origin resource.
If the service returns an enum value that is not available in the current SDK version, regionName will
return RegionName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
regionNameAsString().
RegionNamepublic final String regionNameAsString()
The AWS Region name of the origin resource.
If the service returns an enum value that is not available in the current SDK version, regionName will
return RegionName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
regionNameAsString().
RegionNamepublic final OriginProtocolPolicyEnum protocolPolicy()
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
If the service returns an enum value that is not available in the current SDK version, protocolPolicy
will return OriginProtocolPolicyEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from protocolPolicyAsString().
OriginProtocolPolicyEnumpublic final String protocolPolicyAsString()
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
If the service returns an enum value that is not available in the current SDK version, protocolPolicy
will return OriginProtocolPolicyEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from protocolPolicyAsString().
OriginProtocolPolicyEnumpublic InputOrigin.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InputOrigin.Builder,InputOrigin>public static InputOrigin.Builder builder()
public static Class<? extends InputOrigin.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.