Class AWSAPICallViaCloudTrail.CreateFleetResponse.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.events.AWSAPICallViaCloudTrail.CreateFleetResponse.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.CreateFleetResponse>
- Enclosing interface:
AWSAPICallViaCloudTrail.CreateFleetResponse
@Stability(Experimental)
public static final class AWSAPICallViaCloudTrail.CreateFleetResponse.Builder
extends Object
implements software.amazon.jsii.Builder<AWSAPICallViaCloudTrail.CreateFleetResponse>
A builder for
AWSAPICallViaCloudTrail.CreateFleetResponse-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofAWSAPICallViaCloudTrail.CreateFleetResponse.getErrorSet()Sets the value ofAWSAPICallViaCloudTrail.CreateFleetResponse.getFleetId()fleetInstanceSet(List<String> fleetInstanceSet) Sets the value ofAWSAPICallViaCloudTrail.CreateFleetResponse.getFleetInstanceSet()Sets the value ofAWSAPICallViaCloudTrail.CreateFleetResponse.getRequestId()Sets the value ofAWSAPICallViaCloudTrail.CreateFleetResponse.getXmlns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
errorSet
@Stability(Experimental) public AWSAPICallViaCloudTrail.CreateFleetResponse.Builder errorSet(List<String> errorSet) Sets the value ofAWSAPICallViaCloudTrail.CreateFleetResponse.getErrorSet()- Parameters:
errorSet- errorSet property. Specify an array of string values to match this event if the actual value of errorSet is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
fleetId
@Stability(Experimental) public AWSAPICallViaCloudTrail.CreateFleetResponse.Builder fleetId(List<String> fleetId) Sets the value ofAWSAPICallViaCloudTrail.CreateFleetResponse.getFleetId()- Parameters:
fleetId- fleetId property. Specify an array of string values to match this event if the actual value of fleetId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
fleetInstanceSet
@Stability(Experimental) public AWSAPICallViaCloudTrail.CreateFleetResponse.Builder fleetInstanceSet(List<String> fleetInstanceSet) Sets the value ofAWSAPICallViaCloudTrail.CreateFleetResponse.getFleetInstanceSet()- Parameters:
fleetInstanceSet- fleetInstanceSet property. Specify an array of string values to match this event if the actual value of fleetInstanceSet 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.CreateFleetResponse.Builder requestId(List<String> requestId) Sets the value ofAWSAPICallViaCloudTrail.CreateFleetResponse.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
-
xmlns
@Stability(Experimental) public AWSAPICallViaCloudTrail.CreateFleetResponse.Builder xmlns(List<String> xmlns) Sets the value ofAWSAPICallViaCloudTrail.CreateFleetResponse.getXmlns()- Parameters:
xmlns- xmlns property. Specify an array of string values to match this event if the actual value of xmlns 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.CreateFleetResponse>- Returns:
- a new instance of
AWSAPICallViaCloudTrail.CreateFleetResponse - Throws:
NullPointerException- if any required attribute was not provided
-