Class ObjectACLUpdated.ObjectACLUpdatedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.s3.events.ObjectACLUpdated.ObjectACLUpdatedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ObjectACLUpdated.ObjectACLUpdatedProps>
- Enclosing interface:
ObjectACLUpdated.ObjectACLUpdatedProps
@Stability(Experimental)
public static final class ObjectACLUpdated.ObjectACLUpdatedProps.Builder
extends Object
implements software.amazon.jsii.Builder<ObjectACLUpdated.ObjectACLUpdatedProps>
A builder for
ObjectACLUpdated.ObjectACLUpdatedProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucket(ObjectACLUpdated.Bucket bucket) Sets the value ofObjectACLUpdated.ObjectACLUpdatedProps.getBucket()build()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofObjectACLUpdated.ObjectACLUpdatedProps.getEventMetadata()object(ObjectACLUpdated.ObjectType object) Sets the value ofObjectACLUpdated.ObjectACLUpdatedProps.getObject()Sets the value ofObjectACLUpdated.ObjectACLUpdatedProps.getRequester()Sets the value ofObjectACLUpdated.ObjectACLUpdatedProps.getRequestId()sourceIpAddress(List<String> sourceIpAddress) Sets the value ofObjectACLUpdated.ObjectACLUpdatedProps.getSourceIpAddress()Sets the value ofObjectACLUpdated.ObjectACLUpdatedProps.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Experimental) public ObjectACLUpdated.ObjectACLUpdatedProps.Builder bucket(ObjectACLUpdated.Bucket bucket) Sets the value ofObjectACLUpdated.ObjectACLUpdatedProps.getBucket()- Parameters:
bucket- bucket property. Specify an array of string values to match this event if the actual value of bucket is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public ObjectACLUpdated.ObjectACLUpdatedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofObjectACLUpdated.ObjectACLUpdatedProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
object
@Stability(Experimental) public ObjectACLUpdated.ObjectACLUpdatedProps.Builder object(ObjectACLUpdated.ObjectType object) Sets the value ofObjectACLUpdated.ObjectACLUpdatedProps.getObject()- Parameters:
object- object property. Specify an array of string values to match this event if the actual value of object is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
requester
@Stability(Experimental) public ObjectACLUpdated.ObjectACLUpdatedProps.Builder requester(List<String> requester) Sets the value ofObjectACLUpdated.ObjectACLUpdatedProps.getRequester()- Parameters:
requester- requester property. Specify an array of string values to match this event if the actual value of requester is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
requestId
@Stability(Experimental) public ObjectACLUpdated.ObjectACLUpdatedProps.Builder requestId(List<String> requestId) Sets the value ofObjectACLUpdated.ObjectACLUpdatedProps.getRequestId()- Parameters:
requestId- request-id property. Specify an array of string values to match this event if the actual value of request-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceIpAddress
@Stability(Experimental) public ObjectACLUpdated.ObjectACLUpdatedProps.Builder sourceIpAddress(List<String> sourceIpAddress) Sets the value ofObjectACLUpdated.ObjectACLUpdatedProps.getSourceIpAddress()- Parameters:
sourceIpAddress- source-ip-address property. Specify an array of string values to match this event if the actual value of source-ip-address is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
version
@Stability(Experimental) public ObjectACLUpdated.ObjectACLUpdatedProps.Builder version(List<String> version) Sets the value ofObjectACLUpdated.ObjectACLUpdatedProps.getVersion()- Parameters:
version- version property. Specify an array of string values to match this event if the actual value of version 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<ObjectACLUpdated.ObjectACLUpdatedProps>- Returns:
- a new instance of
ObjectACLUpdated.ObjectACLUpdatedProps - Throws:
NullPointerException- if any required attribute was not provided
-