Interface VpcOriginEndpointConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcOriginEndpointConfig.Builder,
,VpcOriginEndpointConfig> SdkBuilder<VpcOriginEndpointConfig.Builder,
,VpcOriginEndpointConfig> SdkPojo
- Enclosing class:
VpcOriginEndpointConfig
@Mutable
@NotThreadSafe
public static interface VpcOriginEndpointConfig.Builder
extends SdkPojo, CopyableBuilder<VpcOriginEndpointConfig.Builder,VpcOriginEndpointConfig>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the CloudFront VPC origin endpoint configuration.The HTTP port for the CloudFront VPC origin endpoint configuration.The HTTPS port of the CloudFront VPC origin endpoint configuration.The name of the CloudFront VPC origin endpoint configuration.originProtocolPolicy
(String originProtocolPolicy) The origin protocol policy for the CloudFront VPC origin endpoint configuration.originProtocolPolicy
(OriginProtocolPolicy originProtocolPolicy) The origin protocol policy for the CloudFront VPC origin endpoint configuration.default VpcOriginEndpointConfig.Builder
originSslProtocols
(Consumer<OriginSslProtocols.Builder> originSslProtocols) Sets the value of the OriginSslProtocols property for this object.originSslProtocols
(OriginSslProtocols originSslProtocols) Sets the value of the OriginSslProtocols property for this object.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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the CloudFront VPC origin endpoint configuration.
- Parameters:
name
- The name of the CloudFront VPC origin endpoint configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the CloudFront VPC origin endpoint configuration.
- Parameters:
arn
- The ARN of the CloudFront VPC origin endpoint configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpPort
The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is
80
.- Parameters:
httpPort
- The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is80
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpsPort
The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is
443
.- Parameters:
httpsPort
- The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is443
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originProtocolPolicy
The origin protocol policy for the CloudFront VPC origin endpoint configuration.
- Parameters:
originProtocolPolicy
- The origin protocol policy for the CloudFront VPC origin endpoint configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
originProtocolPolicy
The origin protocol policy for the CloudFront VPC origin endpoint configuration.
- Parameters:
originProtocolPolicy
- The origin protocol policy for the CloudFront VPC origin endpoint configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
originSslProtocols
Sets the value of the OriginSslProtocols property for this object.- Parameters:
originSslProtocols
- The new value for the OriginSslProtocols property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originSslProtocols
default VpcOriginEndpointConfig.Builder originSslProtocols(Consumer<OriginSslProtocols.Builder> originSslProtocols) Sets the value of the OriginSslProtocols property for this object. This is a convenience method that creates an instance of theOriginSslProtocols.Builder
avoiding the need to create one manually viaOriginSslProtocols.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooriginSslProtocols(OriginSslProtocols)
.- Parameters:
originSslProtocols
- a consumer that will call methods onOriginSslProtocols.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-