@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutTraceSegmentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutTraceSegmentsRequest() |
Modifier and Type | Method and Description |
---|---|
PutTraceSegmentsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getTraceSegmentDocuments()
A string containing a JSON document defining one or more segments or subsegments.
|
int |
hashCode() |
void |
setTraceSegmentDocuments(Collection<String> traceSegmentDocuments)
A string containing a JSON document defining one or more segments or subsegments.
|
String |
toString()
Returns a string representation of this object.
|
PutTraceSegmentsRequest |
withTraceSegmentDocuments(Collection<String> traceSegmentDocuments)
A string containing a JSON document defining one or more segments or subsegments.
|
PutTraceSegmentsRequest |
withTraceSegmentDocuments(String... traceSegmentDocuments)
A string containing a JSON document defining one or more segments or subsegments.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getTraceSegmentDocuments()
A string containing a JSON document defining one or more segments or subsegments.
public void setTraceSegmentDocuments(Collection<String> traceSegmentDocuments)
A string containing a JSON document defining one or more segments or subsegments.
traceSegmentDocuments
- A string containing a JSON document defining one or more segments or subsegments.public PutTraceSegmentsRequest withTraceSegmentDocuments(String... traceSegmentDocuments)
A string containing a JSON document defining one or more segments or subsegments.
NOTE: This method appends the values to the existing list (if any). Use
setTraceSegmentDocuments(java.util.Collection)
or
withTraceSegmentDocuments(java.util.Collection)
if you want to override the existing values.
traceSegmentDocuments
- A string containing a JSON document defining one or more segments or subsegments.public PutTraceSegmentsRequest withTraceSegmentDocuments(Collection<String> traceSegmentDocuments)
A string containing a JSON document defining one or more segments or subsegments.
traceSegmentDocuments
- A string containing a JSON document defining one or more segments or subsegments.public String toString()
toString
in class Object
Object.toString()
public PutTraceSegmentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()