Class AwsApiCallOptions.Builder
java.lang.Object
software.amazon.awscdk.integtests.AwsApiCallOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AwsApiCallOptions>
- Enclosing interface:
- AwsApiCallOptions
@Stability(Experimental)
public static final class AwsApiCallOptions.Builder
extends Object
implements software.amazon.jsii.Builder<AwsApiCallOptions>
A builder for
AwsApiCallOptions
-
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:
build
in interfacesoftware.amazon.jsii.Builder<AwsApiCallOptions>
- Returns:
- a new instance of
AwsApiCallOptions
- Throws:
NullPointerException
- if any required attribute was not provided
-