Class FirelensConfig.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.FirelensConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FirelensConfig>
- Enclosing interface:
FirelensConfig
@Stability(Stable)
public static final class FirelensConfig.Builder
extends Object
implements software.amazon.jsii.Builder<FirelensConfig>
A builder for
FirelensConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.options
(FirelensOptions options) Sets the value ofFirelensConfig.getOptions()
type
(FirelensLogRouterType type) Sets the value ofFirelensConfig.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofFirelensConfig.getType()
- Parameters:
type
- The log router to use. This parameter is required.- Returns:
this
-
options
Sets the value ofFirelensConfig.getOptions()
- Parameters:
options
- Firelens options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<FirelensConfig>
- Returns:
- a new instance of
FirelensConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-