Interface InputOrigin.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InputOrigin.Builder,InputOrigin>,SdkBuilder<InputOrigin.Builder,InputOrigin>,SdkPojo
- Enclosing class:
- InputOrigin
public static interface InputOrigin.Builder extends SdkPojo, CopyableBuilder<InputOrigin.Builder,InputOrigin>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputOrigin.Buildername(String name)The name of the origin resource.InputOrigin.BuilderprotocolPolicy(String protocolPolicy)The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.InputOrigin.BuilderprotocolPolicy(OriginProtocolPolicyEnum protocolPolicy)The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.InputOrigin.BuilderregionName(String regionName)The AWS Region name of the origin resource.InputOrigin.BuilderregionName(RegionName regionName)The AWS Region name of the origin resource.InputOrigin.BuilderresponseTimeout(Integer responseTimeout)The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin.-
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
InputOrigin.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.
-
regionName
InputOrigin.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
InputOrigin.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
InputOrigin.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
InputOrigin.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
-
responseTimeout
InputOrigin.Builder responseTimeout(Integer responseTimeout)
The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.
- Parameters:
responseTimeout- The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-