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
Modifier and TypeMethodDescriptionThe name of the origin resource.protocolPolicy
(String protocolPolicy) The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.protocolPolicy
(OriginProtocolPolicyEnum protocolPolicy) The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.regionName
(String regionName) The AWS Region name of the origin resource.regionName
(RegionName regionName) The AWS Region name of the origin resource.responseTimeout
(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 Details
-
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
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
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:
-
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:
-
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:
-
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.
-