Class CfnLogStreamPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.logs.CfnLogStreamPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLogStreamPropsMixin>
- Enclosing class:
CfnLogStreamPropsMixin
@Stability(Stable)
public static final class CfnLogStreamPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLogStreamPropsMixin>
A fluent builder for
CfnLogStreamPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) logGroupName(String logGroupName) The name of the log group where the log stream is created.logGroupName(ILogGroupRef logGroupName) The name of the log group where the log stream is created.logStreamName(String logStreamName) The name of the log stream.
-
Method Details
-
create
@Stability(Stable) public static CfnLogStreamPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnLogStreamPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnLogStreamPropsMixin.Builder.
-
logGroupName
The name of the log group where the log stream is created.- Parameters:
logGroupName- The name of the log group where the log stream is created. This parameter is required.- Returns:
this- See Also:
-
logGroupName
The name of the log group where the log stream is created.- Parameters:
logGroupName- The name of the log group where the log stream is created. This parameter is required.- Returns:
this- See Also:
-
logStreamName
The name of the log stream.The name must be unique within the log group.
- Parameters:
logStreamName- The name of the log stream. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLogStreamPropsMixin>- Returns:
- a newly built instance of
CfnLogStreamPropsMixin.
-