Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public class APIGatewayProxyResponseEvent implements Serializable, Cloneable {

private String body;

private Boolean isBase64Encoded;

/**
* default constructor
*/
Expand Down Expand Up @@ -90,6 +92,29 @@ public APIGatewayProxyResponseEvent withBody(String body) {
return this;
}

/**
* @return whether the body String is base64 encoded.
*/
public Boolean getIsBase64Encoded() {
return this.isBase64Encoded;
}

/**
* @param isBase64Encoded Whether the body String is base64 encoded
*/
public void setIsBase64Encoded(Boolean isBase64Encoded) {
this.isBase64Encoded = isBase64Encoded;
}

/**
* @param isBase64Encoded Whether the body String is base64 encoded
* @return APIGatewayProxyRequestEvent
*/
public APIGatewayProxyResponseEvent withIsBase64Encoded(Boolean isBase64Encoded) {
this.setIsBase64Encoded(isBase64Encoded);
return this;
}

/**
* Returns a string representation of this object; useful for testing and debugging.
*
Expand Down