Class AwsApiCallProps.Builder
java.lang.Object
software.amazon.awscdk.integtests.AwsApiCallProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AwsApiCallProps>
- Enclosing interface:
- AwsApiCallProps
@Stability(Experimental)
public static final class AwsApiCallProps.Builder
extends Object
implements software.amazon.jsii.Builder<AwsApiCallProps>
A builder for
AwsApiCallProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAwsApiCallOptions.getApi()build()Builds the configured instance.parameters(Object parameters) Sets the value ofAwsApiCallOptions.getParameters()Sets the value ofAwsApiCallOptions.getService()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
api
Sets the value ofAwsApiCallOptions.getApi()- Parameters:
api- The api call to make, i.e. getBucketLifecycle. This parameter is required.- Returns:
this
-
service
Sets the value ofAwsApiCallOptions.getService()- Parameters:
service- The AWS service, i.e. S3. This parameter is required.- Returns:
this
-
parameters
Sets the value ofAwsApiCallOptions.getParameters()- Parameters:
parameters- Any parameters to pass to the api call.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AwsApiCallProps>- Returns:
- a new instance of
AwsApiCallProps - Throws:
NullPointerException- if any required attribute was not provided
-