Interface ResponseHeadersPolicyStrictTransportSecurity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResponseHeadersPolicyStrictTransportSecurity.Builder,ResponseHeadersPolicyStrictTransportSecurity>,SdkBuilder<ResponseHeadersPolicyStrictTransportSecurity.Builder,ResponseHeadersPolicyStrictTransportSecurity>,SdkPojo
- Enclosing class:
- ResponseHeadersPolicyStrictTransportSecurity
@Mutable @NotThreadSafe public static interface ResponseHeadersPolicyStrictTransportSecurity.Builder extends SdkPojo, CopyableBuilder<ResponseHeadersPolicyStrictTransportSecurity.Builder,ResponseHeadersPolicyStrictTransportSecurity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponseHeadersPolicyStrictTransportSecurity.BuilderaccessControlMaxAgeSec(Integer accessControlMaxAgeSec)A number that CloudFront uses as the value for themax-agedirective in theStrict-Transport-SecurityHTTP response header.ResponseHeadersPolicyStrictTransportSecurity.BuilderincludeSubdomains(Boolean includeSubdomains)A Boolean that determines whether CloudFront includes theincludeSubDomainsdirective in theStrict-Transport-SecurityHTTP response header.ResponseHeadersPolicyStrictTransportSecurity.Builderoverride(Boolean override)A Boolean that determines whether CloudFront overrides theStrict-Transport-SecurityHTTP response header received from the origin with the one specified in this response headers policy.ResponseHeadersPolicyStrictTransportSecurity.Builderpreload(Boolean preload)A Boolean that determines whether CloudFront includes thepreloaddirective in theStrict-Transport-SecurityHTTP response header.-
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 Detail
-
override
ResponseHeadersPolicyStrictTransportSecurity.Builder override(Boolean override)
A Boolean that determines whether CloudFront overrides the
Strict-Transport-SecurityHTTP response header received from the origin with the one specified in this response headers policy.- Parameters:
override- A Boolean that determines whether CloudFront overrides theStrict-Transport-SecurityHTTP response header received from the origin with the one specified in this response headers policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeSubdomains
ResponseHeadersPolicyStrictTransportSecurity.Builder includeSubdomains(Boolean includeSubdomains)
A Boolean that determines whether CloudFront includes the
includeSubDomainsdirective in theStrict-Transport-SecurityHTTP response header.- Parameters:
includeSubdomains- A Boolean that determines whether CloudFront includes theincludeSubDomainsdirective in theStrict-Transport-SecurityHTTP response header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preload
ResponseHeadersPolicyStrictTransportSecurity.Builder preload(Boolean preload)
A Boolean that determines whether CloudFront includes the
preloaddirective in theStrict-Transport-SecurityHTTP response header.- Parameters:
preload- A Boolean that determines whether CloudFront includes thepreloaddirective in theStrict-Transport-SecurityHTTP response header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessControlMaxAgeSec
ResponseHeadersPolicyStrictTransportSecurity.Builder accessControlMaxAgeSec(Integer accessControlMaxAgeSec)
A number that CloudFront uses as the value for the
max-agedirective in theStrict-Transport-SecurityHTTP response header.- Parameters:
accessControlMaxAgeSec- A number that CloudFront uses as the value for themax-agedirective in theStrict-Transport-SecurityHTTP response header.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-