Package com.pulumi.aws.lightsail.inputs
Class DistributionCacheBehaviorSettingsArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.lightsail.inputs.DistributionCacheBehaviorSettingsArgs.Builder
-
- Enclosing class:
- DistributionCacheBehaviorSettingsArgs
public static final class DistributionCacheBehaviorSettingsArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(DistributionCacheBehaviorSettingsArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DistributionCacheBehaviorSettingsArgs defaults)
-
-
Method Detail
-
allowedHttpMethods
public DistributionCacheBehaviorSettingsArgs.Builder allowedHttpMethods(@Nullable com.pulumi.core.Output<java.lang.String> allowedHttpMethods)
- Parameters:
allowedHttpMethods- HTTP methods that are processed and forwarded to the distribution's origin.- Returns:
- builder
-
allowedHttpMethods
public DistributionCacheBehaviorSettingsArgs.Builder allowedHttpMethods(java.lang.String allowedHttpMethods)
- Parameters:
allowedHttpMethods- HTTP methods that are processed and forwarded to the distribution's origin.- Returns:
- builder
-
cachedHttpMethods
public DistributionCacheBehaviorSettingsArgs.Builder cachedHttpMethods(@Nullable com.pulumi.core.Output<java.lang.String> cachedHttpMethods)
- Parameters:
cachedHttpMethods- HTTP method responses that are cached by your distribution.- Returns:
- builder
-
cachedHttpMethods
public DistributionCacheBehaviorSettingsArgs.Builder cachedHttpMethods(java.lang.String cachedHttpMethods)
- Parameters:
cachedHttpMethods- HTTP method responses that are cached by your distribution.- Returns:
- builder
-
defaultTtl
public DistributionCacheBehaviorSettingsArgs.Builder defaultTtl(@Nullable com.pulumi.core.Output<java.lang.Integer> defaultTtl)
- Parameters:
defaultTtl- Default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated.- Returns:
- builder
-
defaultTtl
public DistributionCacheBehaviorSettingsArgs.Builder defaultTtl(java.lang.Integer defaultTtl)
- Parameters:
defaultTtl- Default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated.- Returns:
- builder
-
forwardedCookies
public DistributionCacheBehaviorSettingsArgs.Builder forwardedCookies(@Nullable com.pulumi.core.Output<DistributionCacheBehaviorSettingsForwardedCookiesArgs> forwardedCookies)
- Parameters:
forwardedCookies- Cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded. See below.- Returns:
- builder
-
forwardedCookies
public DistributionCacheBehaviorSettingsArgs.Builder forwardedCookies(DistributionCacheBehaviorSettingsForwardedCookiesArgs forwardedCookies)
- Parameters:
forwardedCookies- Cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded. See below.- Returns:
- builder
-
forwardedHeaders
public DistributionCacheBehaviorSettingsArgs.Builder forwardedHeaders(@Nullable com.pulumi.core.Output<DistributionCacheBehaviorSettingsForwardedHeadersArgs> forwardedHeaders)
- Parameters:
forwardedHeaders- Headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded. See below.- Returns:
- builder
-
forwardedHeaders
public DistributionCacheBehaviorSettingsArgs.Builder forwardedHeaders(DistributionCacheBehaviorSettingsForwardedHeadersArgs forwardedHeaders)
- Parameters:
forwardedHeaders- Headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded. See below.- Returns:
- builder
-
forwardedQueryStrings
public DistributionCacheBehaviorSettingsArgs.Builder forwardedQueryStrings(@Nullable com.pulumi.core.Output<DistributionCacheBehaviorSettingsForwardedQueryStringsArgs> forwardedQueryStrings)
- Parameters:
forwardedQueryStrings- Query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded. See below.- Returns:
- builder
-
forwardedQueryStrings
public DistributionCacheBehaviorSettingsArgs.Builder forwardedQueryStrings(DistributionCacheBehaviorSettingsForwardedQueryStringsArgs forwardedQueryStrings)
- Parameters:
forwardedQueryStrings- Query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded. See below.- Returns:
- builder
-
maximumTtl
public DistributionCacheBehaviorSettingsArgs.Builder maximumTtl(@Nullable com.pulumi.core.Output<java.lang.Integer> maximumTtl)
- Parameters:
maximumTtl- Maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.- Returns:
- builder
-
maximumTtl
public DistributionCacheBehaviorSettingsArgs.Builder maximumTtl(java.lang.Integer maximumTtl)
- Parameters:
maximumTtl- Maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.- Returns:
- builder
-
minimumTtl
public DistributionCacheBehaviorSettingsArgs.Builder minimumTtl(@Nullable com.pulumi.core.Output<java.lang.Integer> minimumTtl)
- Parameters:
minimumTtl- Minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.- Returns:
- builder
-
minimumTtl
public DistributionCacheBehaviorSettingsArgs.Builder minimumTtl(java.lang.Integer minimumTtl)
- Parameters:
minimumTtl- Minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.- Returns:
- builder
-
build
public DistributionCacheBehaviorSettingsArgs build()
-
-