Class CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty>
- Enclosing interface:
CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty
@Stability(Stable)
public static final class CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExpressGatewayServicePropsMixin.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 CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty.Builder logGroup(String logGroup) Sets the value ofCfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty.getLogGroup()- Parameters:
logGroup- The name of the CloudWatch Logs log group to send container logs to.- Returns:
this
-
logStreamPrefix
@Stability(Stable) public CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty.Builder logStreamPrefix(String logStreamPrefix) Sets the value ofCfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty.getLogStreamPrefix()- Parameters:
logStreamPrefix- The prefix for the CloudWatch Logs log stream names. The default for an Express service isecs.- Returns:
this
-
build
@Stability(Stable) public CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty>- Returns:
- a new instance of
CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceAwsLogsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-