@Stability(value=Stable) public static final class CfnMethod.MethodResponseProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnMethod.MethodResponseProperty>
CfnMethod.MethodResponseProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnMethod.MethodResponseProperty |
build()
Builds the configured instance.
|
CfnMethod.MethodResponseProperty.Builder |
responseModels(IResolvable responseModels)
Sets the value of
CfnMethod.MethodResponseProperty.getResponseModels() |
CfnMethod.MethodResponseProperty.Builder |
responseModels(Map<String,String> responseModels)
Sets the value of
CfnMethod.MethodResponseProperty.getResponseModels() |
CfnMethod.MethodResponseProperty.Builder |
responseParameters(IResolvable responseParameters)
Sets the value of
CfnMethod.MethodResponseProperty.getResponseParameters() |
CfnMethod.MethodResponseProperty.Builder |
responseParameters(Map<String,? extends Object> responseParameters)
Sets the value of
CfnMethod.MethodResponseProperty.getResponseParameters() |
CfnMethod.MethodResponseProperty.Builder |
statusCode(String statusCode)
Sets the value of
CfnMethod.MethodResponseProperty.getStatusCode() |
@Stability(value=Stable) public CfnMethod.MethodResponseProperty.Builder statusCode(String statusCode)
CfnMethod.MethodResponseProperty.getStatusCode()statusCode - `CfnMethod.MethodResponseProperty.StatusCode`. This parameter is required.this@Stability(value=Stable) public CfnMethod.MethodResponseProperty.Builder responseModels(IResolvable responseModels)
CfnMethod.MethodResponseProperty.getResponseModels()responseModels - `CfnMethod.MethodResponseProperty.ResponseModels`.this@Stability(value=Stable) public CfnMethod.MethodResponseProperty.Builder responseModels(Map<String,String> responseModels)
CfnMethod.MethodResponseProperty.getResponseModels()responseModels - `CfnMethod.MethodResponseProperty.ResponseModels`.this@Stability(value=Stable) public CfnMethod.MethodResponseProperty.Builder responseParameters(IResolvable responseParameters)
CfnMethod.MethodResponseProperty.getResponseParameters()responseParameters - `CfnMethod.MethodResponseProperty.ResponseParameters`.this@Stability(value=Stable) public CfnMethod.MethodResponseProperty.Builder responseParameters(Map<String,? extends Object> responseParameters)
CfnMethod.MethodResponseProperty.getResponseParameters()responseParameters - `CfnMethod.MethodResponseProperty.ResponseParameters`.this@Stability(value=Stable) public CfnMethod.MethodResponseProperty build()
build in interface software.amazon.jsii.Builder<CfnMethod.MethodResponseProperty>CfnMethod.MethodResponsePropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.