public static class Response.Builder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
Response |
build()
Builds a Response object for the value.
|
Response.Builder |
noEcho(boolean noEcho)
Indicates whether to mask the output of the custom resource when it's retrieved by using the Fn::GetAtt
function.
|
Response.Builder |
objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Configures a custom ObjectMapper for serializing the value object.
|
Response.Builder |
physicalResourceId(java.lang.String physicalResourceId)
A unique identifier for the custom resource being responded to.
|
Response.Builder |
status(Response.Status status)
Configures the status of this response.
|
Response.Builder |
value(java.lang.Object value)
Configures the value of this Response, typically a Map of name/value pairs.
|
public Response.Builder value(java.lang.Object value)
value - if null, the Response will be emptypublic Response.Builder objectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
objectMapper - if null, a default mapper will be usedpublic Response.Builder status(Response.Status status)
status - if null, SUCCESS will be assumedpublic Response.Builder physicalResourceId(java.lang.String physicalResourceId)
physicalResourceId - if null, the default resource ID will be usedpublic Response.Builder noEcho(boolean noEcho)
We strongly recommend not using these mechanisms to include sensitive information, such as passwords or secrets.
For more information about using noEcho to mask sensitive information, see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/best-practices.html#creds
By default, this value is false.
noEcho - when true, masks certain outputpublic Response build()
Copyright © 2023. All rights reserved.