@Generated(value="software.amazon.awssdk:codegen") public final class BatchGetTracesResponse extends XRayResponse implements ToCopyableBuilder<BatchGetTracesResponse.Builder,BatchGetTracesResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
BatchGetTracesResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BatchGetTracesResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTraces()
For responses, this returns true if the service returned a value for the Traces property.
|
boolean |
hasUnprocessedTraceIds()
For responses, this returns true if the service returned a value for the UnprocessedTraceIds property.
|
String |
nextToken()
Pagination token.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BatchGetTracesResponse.Builder> |
serializableBuilderClass() |
BatchGetTracesResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<Trace> |
traces()
Full traces for the specified requests.
|
List<String> |
unprocessedTraceIds()
Trace IDs of requests that haven't been processed.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasTraces()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Trace> traces()
Full traces for the specified requests.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTraces() method.
public final boolean hasUnprocessedTraceIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> unprocessedTraceIds()
Trace IDs of requests that haven't been processed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasUnprocessedTraceIds() method.
public final String nextToken()
Pagination token.
public BatchGetTracesResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BatchGetTracesResponse.Builder,BatchGetTracesResponse>toBuilder in class AwsResponsepublic static BatchGetTracesResponse.Builder builder()
public static Class<? extends BatchGetTracesResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.