Class AWSAPICallViaCloudTrail.ResponseElements.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.AWSAPICallViaCloudTrail.ResponseElements.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.ResponseElements>
- Enclosing interface:
AWSAPICallViaCloudTrail.ResponseElements
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.ResponseElements.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.ResponseElements>
A builder for
AWSAPICallViaCloudTrail.ResponseElements-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.createFleetResponse(AWSAPICallViaCloudTrail.CreateFleetResponse createFleetResponse) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getCreateFleetResponse()createLaunchTemplateResponse(AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse createLaunchTemplateResponse) deleteLaunchTemplateResponse(AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse deleteLaunchTemplateResponse) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getGroupId()Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getGroupSet()instancesSet(AWSAPICallViaCloudTrail.InstancesSet instancesSet) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getInstancesSet()networkInterface(AWSAPICallViaCloudTrail.NetworkInterface networkInterface) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getNetworkInterface()Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getOwnerId()requesterId(List<String> requesterId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getRequesterId()Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getRequestId()reservationId(List<String> reservationId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getReservationId()returnValue(List<String> returnValue) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getReturnValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
createFleetResponse
@Stability(Experimental) public AWSAPICallViaCloudTrail.ResponseElements.Builder createFleetResponse(AWSAPICallViaCloudTrail.CreateFleetResponse createFleetResponse) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getCreateFleetResponse()- 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 AWSAPICallViaCloudTrail.ResponseElements.Builder createLaunchTemplateResponse(AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse createLaunchTemplateResponse) - 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 AWSAPICallViaCloudTrail.ResponseElements.Builder deleteLaunchTemplateResponse(AWSAPICallViaCloudTrail.DeleteLaunchTemplateResponse deleteLaunchTemplateResponse) - 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 AWSAPICallViaCloudTrail.ResponseElements.Builder groupId(List<String> groupId) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.ResponseElements.Builder groupSet(List<String> groupSet) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.ResponseElements.Builder instancesSet(AWSAPICallViaCloudTrail.InstancesSet instancesSet) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getInstancesSet()- 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 AWSAPICallViaCloudTrail.ResponseElements.Builder networkInterface(AWSAPICallViaCloudTrail.NetworkInterface networkInterface) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getNetworkInterface()- 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 AWSAPICallViaCloudTrail.ResponseElements.Builder ownerId(List<String> ownerId) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.ResponseElements.Builder requesterId(List<String> requesterId) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.ResponseElements.Builder requestId(List<String> requestId) Sets the value ofAWSAPICallViaCloudTrail.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 AWSAPICallViaCloudTrail.ResponseElements.Builder reservationId(List<String> reservationId) Sets the value ofAWSAPICallViaCloudTrail.ResponseElements.getReservationId()- 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 AWSAPICallViaCloudTrail.ResponseElements.Builder returnValue(List<String> returnValue) Sets the value ofAWSAPICallViaCloudTrail.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<AWSAPICallViaCloudTrail.ResponseElements>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.ResponseElements - Throws:
NullPointerException- if any required attribute was not provided
-