@Immutable public class SdkResponseMetadata extends Object
| Modifier and Type | Field | Description |
|---|---|---|
static String |
HEADER_REQUEST_ID |
| Constructor | Description |
|---|---|
SdkResponseMetadata(SdkHttpMetadata httpMetadata) |
| Modifier and Type | Method | Description |
|---|---|---|
Optional<String> |
header(String headerName) |
Get a specific header from the HTTP response.
|
int |
httpStatusCode() |
|
String |
requestId() |
public static final String HEADER_REQUEST_ID
public SdkResponseMetadata(SdkHttpMetadata httpMetadata)
public String requestId()
public Optional<String> header(String headerName)
headerName - Header to retrieve.public int httpStatusCode()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.