Class AddKeysProperty.Builder
java.lang.Object
software.amazon.awscdk.services.logs.AddKeysProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AddKeysProperty>
- Enclosing interface:
AddKeysProperty
@Stability(Stable)
public static final class AddKeysProperty.Builder
extends Object
implements software.amazon.jsii.Builder<AddKeysProperty>
A builder for
AddKeysProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.entries
(List<? extends AddKeyEntryProperty> entries) Sets the value ofAddKeysProperty.getEntries()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
entries
@Stability(Stable) public AddKeysProperty.Builder entries(List<? extends AddKeyEntryProperty> entries) Sets the value ofAddKeysProperty.getEntries()
- Parameters:
entries
- An array of objects, where each object contains information about one key to add to the log event. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AddKeysProperty>
- Returns:
- a new instance of
AddKeysProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-