@Stability(value=Experimental) public static final class AwsSdkCall.Builder extends Object implements software.amazon.jsii.Builder<AwsSdkCall>
AwsSdkCall| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AwsSdkCall.Builder |
action(String action)
Sets the value of
AwsSdkCall.getAction() |
AwsSdkCall.Builder |
apiVersion(String apiVersion)
Sets the value of
AwsSdkCall.getApiVersion() |
AwsSdkCall |
build()
Builds the configured instance.
|
AwsSdkCall.Builder |
ignoreErrorCodesMatching(String ignoreErrorCodesMatching)
Sets the value of
AwsSdkCall.getIgnoreErrorCodesMatching() |
AwsSdkCall.Builder |
outputPath(String outputPath)
Sets the value of
AwsSdkCall.getOutputPath() |
AwsSdkCall.Builder |
parameters(Object parameters)
Sets the value of
AwsSdkCall.getParameters() |
AwsSdkCall.Builder |
physicalResourceId(PhysicalResourceId physicalResourceId)
Sets the value of
AwsSdkCall.getPhysicalResourceId() |
AwsSdkCall.Builder |
region(String region)
Sets the value of
AwsSdkCall.getRegion() |
AwsSdkCall.Builder |
service(String service)
Sets the value of
AwsSdkCall.getService() |
@Stability(value=Experimental) public AwsSdkCall.Builder action(String action)
AwsSdkCall.getAction()action - The service action to call. This parameter is required.this@Stability(value=Experimental) public AwsSdkCall.Builder service(String service)
AwsSdkCall.getService()service - The service to call. This parameter is required.this@Stability(value=Experimental) public AwsSdkCall.Builder apiVersion(String apiVersion)
AwsSdkCall.getApiVersion()apiVersion - API version to use for the service.this@Stability(value=Experimental) public AwsSdkCall.Builder ignoreErrorCodesMatching(String ignoreErrorCodesMatching)
AwsSdkCall.getIgnoreErrorCodesMatching()ignoreErrorCodesMatching - The regex pattern to use to catch API errors.
The code property of the
Error object will be tested against this pattern. If there is a match an
error will not be thrown.this@Stability(value=Experimental) public AwsSdkCall.Builder outputPath(String outputPath)
AwsSdkCall.getOutputPath()outputPath - Restrict the data returned by the custom resource to a specific path 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.
Example for ECS / updateService: 'service.deploymentConfiguration.maximumPercent'
this@Stability(value=Experimental) public AwsSdkCall.Builder parameters(Object parameters)
AwsSdkCall.getParameters()parameters - The parameters for the service action.this@Stability(value=Experimental) public AwsSdkCall.Builder physicalResourceId(PhysicalResourceId physicalResourceId)
AwsSdkCall.getPhysicalResourceId()physicalResourceId - The physical resource id of the custom resource for this call.
Mandatory for onCreate or onUpdate calls.this@Stability(value=Experimental) public AwsSdkCall.Builder region(String region)
AwsSdkCall.getRegion()region - The region to send service requests to.
Note: Cross-region operations are generally considered an anti-pattern.
Consider first deploying a stack in that region.this@Stability(value=Experimental) public AwsSdkCall build()
build in interface software.amazon.jsii.Builder<AwsSdkCall>AwsSdkCallNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.