public static interface ResponseHeadersPolicyConfig.Builder extends SdkPojo, CopyableBuilder<ResponseHeadersPolicyConfig.Builder,ResponseHeadersPolicyConfig>
| Modifier and Type | Method and Description |
|---|---|
ResponseHeadersPolicyConfig.Builder |
comment(String comment)
A comment to describe the response headers policy.
|
default ResponseHeadersPolicyConfig.Builder |
corsConfig(Consumer<ResponseHeadersPolicyCorsConfig.Builder> corsConfig)
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
|
ResponseHeadersPolicyConfig.Builder |
corsConfig(ResponseHeadersPolicyCorsConfig corsConfig)
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
|
default ResponseHeadersPolicyConfig.Builder |
customHeadersConfig(Consumer<ResponseHeadersPolicyCustomHeadersConfig.Builder> customHeadersConfig)
A configuration for a set of custom HTTP response headers.
|
ResponseHeadersPolicyConfig.Builder |
customHeadersConfig(ResponseHeadersPolicyCustomHeadersConfig customHeadersConfig)
A configuration for a set of custom HTTP response headers.
|
ResponseHeadersPolicyConfig.Builder |
name(String name)
A name to identify the response headers policy.
|
default ResponseHeadersPolicyConfig.Builder |
securityHeadersConfig(Consumer<ResponseHeadersPolicySecurityHeadersConfig.Builder> securityHeadersConfig)
A configuration for a set of security-related HTTP response headers.
|
ResponseHeadersPolicyConfig.Builder |
securityHeadersConfig(ResponseHeadersPolicySecurityHeadersConfig securityHeadersConfig)
A configuration for a set of security-related HTTP response headers.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildResponseHeadersPolicyConfig.Builder comment(String comment)
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
comment - A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
ResponseHeadersPolicyConfig.Builder name(String name)
A name to identify the response headers policy.
The name must be unique for response headers policies in this Amazon Web Services account.
name - A name to identify the response headers policy.
The name must be unique for response headers policies in this Amazon Web Services account.
ResponseHeadersPolicyConfig.Builder corsConfig(ResponseHeadersPolicyCorsConfig corsConfig)
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
corsConfig - A configuration for a set of HTTP response headers that are used for cross-origin resource sharing
(CORS).default ResponseHeadersPolicyConfig.Builder corsConfig(Consumer<ResponseHeadersPolicyCorsConfig.Builder> corsConfig)
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
This is a convenience that creates an instance of theResponseHeadersPolicyCorsConfig.Builder
avoiding the need to create one manually via ResponseHeadersPolicyCorsConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to corsConfig(ResponseHeadersPolicyCorsConfig).corsConfig - a consumer that will call methods on ResponseHeadersPolicyCorsConfig.BuildercorsConfig(ResponseHeadersPolicyCorsConfig)ResponseHeadersPolicyConfig.Builder securityHeadersConfig(ResponseHeadersPolicySecurityHeadersConfig securityHeadersConfig)
A configuration for a set of security-related HTTP response headers.
securityHeadersConfig - A configuration for a set of security-related HTTP response headers.default ResponseHeadersPolicyConfig.Builder securityHeadersConfig(Consumer<ResponseHeadersPolicySecurityHeadersConfig.Builder> securityHeadersConfig)
A configuration for a set of security-related HTTP response headers.
This is a convenience that creates an instance of theResponseHeadersPolicySecurityHeadersConfig.Builder avoiding the need to create one manually via
ResponseHeadersPolicySecurityHeadersConfig.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
securityHeadersConfig(ResponseHeadersPolicySecurityHeadersConfig).securityHeadersConfig - a consumer that will call methods on ResponseHeadersPolicySecurityHeadersConfig.BuildersecurityHeadersConfig(ResponseHeadersPolicySecurityHeadersConfig)ResponseHeadersPolicyConfig.Builder customHeadersConfig(ResponseHeadersPolicyCustomHeadersConfig customHeadersConfig)
A configuration for a set of custom HTTP response headers.
customHeadersConfig - A configuration for a set of custom HTTP response headers.default ResponseHeadersPolicyConfig.Builder customHeadersConfig(Consumer<ResponseHeadersPolicyCustomHeadersConfig.Builder> customHeadersConfig)
A configuration for a set of custom HTTP response headers.
This is a convenience that creates an instance of theResponseHeadersPolicyCustomHeadersConfig.Builder avoiding the need to create one manually via
ResponseHeadersPolicyCustomHeadersConfig.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
customHeadersConfig(ResponseHeadersPolicyCustomHeadersConfig).customHeadersConfig - a consumer that will call methods on ResponseHeadersPolicyCustomHeadersConfig.BuildercustomHeadersConfig(ResponseHeadersPolicyCustomHeadersConfig)Copyright © 2021. All rights reserved.