public static class CloudFrontEvent.Response extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Response()
default constructor
|
Modifier and Type | Method and Description |
---|---|
CloudFrontEvent.Response |
clone() |
boolean |
equals(Object obj) |
Map<String,List<CloudFrontEvent.Header>> |
getHeaders() |
String |
getHttpVersion() |
String |
getStatus() |
String |
getStatusDescription() |
int |
hashCode() |
void |
setHeaders(Map<String,List<CloudFrontEvent.Header>> headers) |
void |
setHttpVersion(String httpVersion) |
void |
setStatus(String status) |
void |
setStatusDescription(String statusDescription) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CloudFrontEvent.Response |
withHeaders(Map<String,List<CloudFrontEvent.Header>> headers) |
CloudFrontEvent.Response |
withHttpVersion(String httpVersion) |
CloudFrontEvent.Response |
withStatus(String status) |
CloudFrontEvent.Response |
withStatusDescription(String statusDescription) |
public String getStatus()
public void setStatus(String status)
status
- status code returned by cloud frontpublic CloudFrontEvent.Response withStatus(String status)
status
- status code returned by cloud frontpublic String getStatusDescription()
public void setStatusDescription(String statusDescription)
statusDescription
- status description returned by cloud frontpublic CloudFrontEvent.Response withStatusDescription(String statusDescription)
statusDescription
- status description returned by cloud frontpublic String getHttpVersion()
public void setHttpVersion(String httpVersion)
httpVersion
- http version used by cloud frontpublic CloudFrontEvent.Response withHttpVersion(String httpVersion)
httpVersion
- http version used by cloud frontpublic Map<String,List<CloudFrontEvent.Header>> getHeaders()
public void setHeaders(Map<String,List<CloudFrontEvent.Header>> headers)
headers
- headers included with the Cloud front responsepublic CloudFrontEvent.Response withHeaders(Map<String,List<CloudFrontEvent.Header>> headers)
headers
- headers included with the Cloud front responsepublic String toString()
toString
in class Object
Object.toString()
public CloudFrontEvent.Response clone()
Copyright © 2019. All rights reserved.