Class CfnLogStreamMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.logs.CfnLogStreamMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLogStreamMixinProps>
- Enclosing interface:
CfnLogStreamMixinProps
@Stability(Stable)
public static final class CfnLogStreamMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLogStreamMixinProps>
A builder for
CfnLogStreamMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.logGroupName(String logGroupName) Sets the value ofCfnLogStreamMixinProps.getLogGroupName()logGroupName(ILogGroupRef logGroupName) Sets the value ofCfnLogStreamMixinProps.getLogGroupName()logStreamName(String logStreamName) Sets the value ofCfnLogStreamMixinProps.getLogStreamName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroupName
Sets the value ofCfnLogStreamMixinProps.getLogGroupName()- Parameters:
logGroupName- The name of the log group where the log stream is created.- Returns:
this
-
logGroupName
Sets the value ofCfnLogStreamMixinProps.getLogGroupName()- Parameters:
logGroupName- The name of the log group where the log stream is created.- Returns:
this
-
logStreamName
Sets the value ofCfnLogStreamMixinProps.getLogStreamName()- Parameters:
logStreamName- The name of the log stream. The name must be unique within the log group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLogStreamMixinProps>- Returns:
- a new instance of
CfnLogStreamMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-