Class AwsApiCallOptions.Builder
java.lang.Object
software.amazon.awscdk.integtests.alpha.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
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAwsApiCallOptions.getApi()
build()
Builds the configured instance.outputPaths
(List<String> outputPaths) Sets the value ofAwsApiCallOptions.getOutputPaths()
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
-
outputPaths
Sets the value ofAwsApiCallOptions.getOutputPaths()
- Parameters:
outputPaths
- Restrict the data returned by the API call to specific paths in the API response. Use this to limit the data returned by the custom resource if working with API calls that could potentially result in custom response objects exceeding the hard limit of 4096 bytes.- 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
-