Class CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty>
- Enclosing interface:
CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty
@Stability(Stable)
public static final class CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.logStreamPrefix(String logStreamPrefix)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroup
@Stability(Stable) public CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty.Builder logGroup(String logGroup) Sets the value ofCfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty.getLogGroup()- Parameters:
logGroup- The name of the CloudWatch Logs log group to send container logs to. This parameter is required.- Returns:
this
-
logStreamPrefix
@Stability(Stable) public CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty.Builder logStreamPrefix(String logStreamPrefix) Sets the value ofCfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty.getLogStreamPrefix()- Parameters:
logStreamPrefix- The prefix for the CloudWatch Logs log stream names. This parameter is required. The default for an Express service isecs.- Returns:
this
-
build
@Stability(Stable) public CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty>- Returns:
- a new instance of
CfnExpressGatewayService.ExpressGatewayServiceAwsLogsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-