Class InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements>
- Enclosing interface:
InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements
@Stability(Experimental)
public static final class InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder
extends Object
implements software.amazon.jsii.Builder<InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements>
A builder for
InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.createFleetResponse(InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetResponse createFleetResponse) createLaunchTemplateResponse(InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse createLaunchTemplateResponse) deleteLaunchTemplateResponse(InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse deleteLaunchTemplateResponse) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.getGroupId()Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.getGroupSet()networkInterface(InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface networkInterface) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.getOwnerId()requesterId(List<String> requesterId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.getRequesterId()Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.getRequestId()reservationId(List<String> reservationId) returnValue(List<String> returnValue) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.getReturnValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
createFleetResponse
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder createFleetResponse(InstanceEvents.AWSAPICallViaCloudTrail.CreateFleetResponse createFleetResponse) - Parameters:
createFleetResponse- CreateFleetResponse property. Specify an array of string values to match this event if the actual value of CreateFleetResponse is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
createLaunchTemplateResponse
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder createLaunchTemplateResponse(InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse createLaunchTemplateResponse) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.getCreateLaunchTemplateResponse()- Parameters:
createLaunchTemplateResponse- CreateLaunchTemplateResponse property. Specify an array of string values to match this event if the actual value of CreateLaunchTemplateResponse is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
deleteLaunchTemplateResponse
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder deleteLaunchTemplateResponse(InstanceEvents.AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse deleteLaunchTemplateResponse) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.getDeleteLaunchTemplateResponse()- Parameters:
deleteLaunchTemplateResponse- DeleteLaunchTemplateResponse property. Specify an array of string values to match this event if the actual value of DeleteLaunchTemplateResponse is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
groupId
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder groupId(List<String> groupId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.getGroupId()- Parameters:
groupId- groupId property. Specify an array of string values to match this event if the actual value of groupId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
groupSet
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder groupSet(List<String> groupSet) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.getGroupSet()- Parameters:
groupSet- groupSet property. Specify an array of string values to match this event if the actual value of groupSet is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
instancesSet
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder instancesSet(InstanceEvents.AWSAPICallViaCloudTrail.InstancesSet instancesSet) - Parameters:
instancesSet- instancesSet property. Specify an array of string values to match this event if the actual value of instancesSet is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
networkInterface
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder networkInterface(InstanceEvents.AWSAPICallViaCloudTrail.NetworkInterface networkInterface) - Parameters:
networkInterface- networkInterface property. Specify an array of string values to match this event if the actual value of networkInterface is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
ownerId
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder ownerId(List<String> ownerId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.getOwnerId()- Parameters:
ownerId- ownerId property. Specify an array of string values to match this event if the actual value of ownerId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
requesterId
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder requesterId(List<String> requesterId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.getRequesterId()- Parameters:
requesterId- requesterId property. Specify an array of string values to match this event if the actual value of requesterId 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 InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder requestId(List<String> requestId) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.getRequestId()- Parameters:
requestId- requestId property. Specify an array of string values to match this event if the actual value of requestId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
reservationId
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder reservationId(List<String> reservationId) - Parameters:
reservationId- reservationId property. Specify an array of string values to match this event if the actual value of reservationId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
returnValue
@Stability(Experimental) public InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.Builder returnValue(List<String> returnValue) Sets the value ofInstanceEvents.AWSAPICallViaCloudTrail.ResponseElements.getReturnValue()- Parameters:
returnValue- _return property. Specify an array of string values to match this event if the actual value of _return 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<InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements>- Returns:
- a new instance of
InstanceEvents.AWSAPICallViaCloudTrail.ResponseElements - Throws:
NullPointerException- if any required attribute was not provided
-