Class EventDataStoreReference.Builder
java.lang.Object
software.amazon.awscdk.services.cloudtrail.EventDataStoreReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EventDataStoreReference>
- Enclosing interface:
EventDataStoreReference
@Stability(Stable)
public static final class EventDataStoreReference.Builder
extends Object
implements software.amazon.jsii.Builder<EventDataStoreReference>
A builder for
EventDataStoreReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventDataStoreArn(String eventDataStoreArn) Sets the value ofEventDataStoreReference.getEventDataStoreArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventDataStoreArn
@Stability(Stable) public EventDataStoreReference.Builder eventDataStoreArn(String eventDataStoreArn) Sets the value ofEventDataStoreReference.getEventDataStoreArn()- Parameters:
eventDataStoreArn- The EventDataStoreArn of the EventDataStore resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EventDataStoreReference>- Returns:
- a new instance of
EventDataStoreReference - Throws:
NullPointerException- if any required attribute was not provided
-