Class ObjectRestoreExpired.Bucket.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.s3.events.ObjectRestoreExpired.Bucket.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ObjectRestoreExpired.Bucket>
- Enclosing interface:
ObjectRestoreExpired.Bucket
@Stability(Experimental)
public static final class ObjectRestoreExpired.Bucket.Builder
extends Object
implements software.amazon.jsii.Builder<ObjectRestoreExpired.Bucket>
A builder for
ObjectRestoreExpired.Bucket-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofObjectRestoreExpired.Bucket.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofObjectRestoreExpired.Bucket.getName()- Parameters:
name- name property. Specify an array of string values to match this event if the actual value of name is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ObjectRestoreExpired.Bucket>- Returns:
- a new instance of
ObjectRestoreExpired.Bucket - Throws:
NullPointerException- if any required attribute was not provided
-