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>OriginGroupPropsbuild()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.thisOriginGroupProps.getPrimaryOrigin()primaryOrigin - The primary origin that should serve requests for this group. This parameter is required.thisOriginGroupProps.getFallbackStatusCodes()fallbackStatusCodes - The list of HTTP status codes that, when returned from the primary origin, would cause querying the fallback origin.thisbuild in interface software.amazon.jsii.Builder<OriginGroupProps>OriginGroupPropsNullPointerException - if any required attribute was not provided