primaryOrigin
Sets the value of
OriginGroupProps.getPrimaryOrigin()
- Parameters:
primaryOrigin
- The primary origin that should serve requests for this group. This parameter is required.- Returns:
this
software.amazon.jsii.Builder<OriginGroupProps>
OriginGroupProps
OriginGroupProps
build()
fallbackOrigin(IOrigin fallbackOrigin)
OriginGroupProps.getFallbackOrigin()
fallbackStatusCodes(List<? extends Number> fallbackStatusCodes)
OriginGroupProps.getFallbackStatusCodes()
primaryOrigin(IOrigin primaryOrigin)
OriginGroupProps.getPrimaryOrigin()
OriginGroupProps.getFallbackOrigin()
fallbackOrigin
- The fallback origin that should serve requests when the primary fails. This parameter is required.this
OriginGroupProps.getPrimaryOrigin()
primaryOrigin
- The primary origin that should serve requests for this group. This parameter is required.this
OriginGroupProps.getFallbackStatusCodes()
fallbackStatusCodes
- The list of HTTP status codes that, when returned from the primary origin, would cause querying the fallback origin.this
build
in interface software.amazon.jsii.Builder<OriginGroupProps>
OriginGroupProps
NullPointerException
- if any required attribute was not provided