Class CfnService.ServiceConnectAccessLogConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnService.ServiceConnectAccessLogConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.ServiceConnectAccessLogConfigurationProperty>
- Enclosing interface:
CfnService.ServiceConnectAccessLogConfigurationProperty
@Stability(Stable)
public static final class CfnService.ServiceConnectAccessLogConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.ServiceConnectAccessLogConfigurationProperty>
A builder for
CfnService.ServiceConnectAccessLogConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnService.ServiceConnectAccessLogConfigurationProperty.getFormat()includeQueryParameters(String includeQueryParameters)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
format
@Stability(Stable) public CfnService.ServiceConnectAccessLogConfigurationProperty.Builder format(String format) Sets the value ofCfnService.ServiceConnectAccessLogConfigurationProperty.getFormat()- Parameters:
format- The format for Service Connect access log output. This parameter is required. Choose TEXT for human-readable logs or JSON for structured data that integrates well with log analysis tools.- Returns:
this
-
includeQueryParameters
@Stability(Stable) public CfnService.ServiceConnectAccessLogConfigurationProperty.Builder includeQueryParameters(String includeQueryParameters) Sets the value ofCfnService.ServiceConnectAccessLogConfigurationProperty.getIncludeQueryParameters()- Parameters:
includeQueryParameters- Specifies whether to include query parameters in Service Connect access logs. When enabled, query parameters from HTTP requests are included in the access logs. Consider security and privacy implications when enabling this feature, as query parameters may contain sensitive information such as request IDs and tokens. By default, this parameter isDISABLED.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.ServiceConnectAccessLogConfigurationProperty>- Returns:
- a new instance of
CfnService.ServiceConnectAccessLogConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-