Class LogGroupReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.logs.LogGroupReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LogGroupReference>
- Enclosing interface:
LogGroupReference
@Stability(Stable)
public static final class LogGroupReference.Builder
extends Object
implements software.amazon.jsii.Builder<LogGroupReference>
A builder for
LogGroupReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.logGroupArn(String logGroupArn) Sets the value ofLogGroupReference.getLogGroupArn()logGroupName(String logGroupName) Sets the value ofLogGroupReference.getLogGroupName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logGroupArn
Sets the value ofLogGroupReference.getLogGroupArn()- Parameters:
logGroupArn- The ARN of the LogGroup resource. This parameter is required.- Returns:
this
-
logGroupName
Sets the value ofLogGroupReference.getLogGroupName()- Parameters:
logGroupName- The LogGroupName of the LogGroup resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LogGroupReference>- Returns:
- a new instance of
LogGroupReference - Throws:
NullPointerException- if any required attribute was not provided
-