Interface Origin.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Origin.Builder,Origin>,SdkBuilder<Origin.Builder,Origin>,SdkPojo
- Enclosing class:
- Origin
public static interface Origin.Builder extends SdkPojo, CopyableBuilder<Origin.Builder,Origin>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Origin.Buildername(String name)The name of the origin resource.Origin.BuilderprotocolPolicy(String protocolPolicy)The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.Origin.BuilderprotocolPolicy(OriginProtocolPolicyEnum protocolPolicy)The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.Origin.BuilderregionName(String regionName)The AWS Region name of the origin resource.Origin.BuilderregionName(RegionName regionName)The AWS Region name of the origin resource.Origin.BuilderresourceType(String resourceType)The resource type of the origin resource (Instance).Origin.BuilderresourceType(ResourceType resourceType)The resource type of the origin resource (Instance).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
Origin.Builder name(String name)
The name of the origin resource.
- Parameters:
name- The name of the origin resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
Origin.Builder resourceType(String resourceType)
The resource type of the origin resource (Instance).
- Parameters:
resourceType- The resource type of the origin resource (Instance).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
resourceType
Origin.Builder resourceType(ResourceType resourceType)
The resource type of the origin resource (Instance).
- Parameters:
resourceType- The resource type of the origin resource (Instance).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
regionName
Origin.Builder regionName(String regionName)
The AWS Region name of the origin resource.
- Parameters:
regionName- The AWS Region name of the origin resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RegionName,RegionName
-
regionName
Origin.Builder regionName(RegionName regionName)
The AWS Region name of the origin resource.
- Parameters:
regionName- The AWS Region name of the origin resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RegionName,RegionName
-
protocolPolicy
Origin.Builder protocolPolicy(String protocolPolicy)
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
- Parameters:
protocolPolicy- The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OriginProtocolPolicyEnum,OriginProtocolPolicyEnum
-
protocolPolicy
Origin.Builder protocolPolicy(OriginProtocolPolicyEnum protocolPolicy)
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
- Parameters:
protocolPolicy- The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OriginProtocolPolicyEnum,OriginProtocolPolicyEnum
-
-