@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PostAgentProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The structure representing the postAgentProfileRequest.
NOOP
Constructor and Description |
---|
PostAgentProfileRequest() |
Modifier and Type | Method and Description |
---|---|
PostAgentProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ByteBuffer |
getAgentProfile()
The submitted profiling data.
|
String |
getContentType()
The format of the submitted profiling data.
|
String |
getProfileToken()
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of
duplicate profiling data if there are failures and retries.
|
String |
getProfilingGroupName()
The name of the profiling group with the aggregated profile that receives the submitted profiling data.
|
int |
hashCode() |
void |
setAgentProfile(ByteBuffer agentProfile)
The submitted profiling data.
|
void |
setContentType(String contentType)
The format of the submitted profiling data.
|
void |
setProfileToken(String profileToken)
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of
duplicate profiling data if there are failures and retries.
|
void |
setProfilingGroupName(String profilingGroupName)
The name of the profiling group with the aggregated profile that receives the submitted profiling data.
|
String |
toString()
Returns a string representation of this object.
|
PostAgentProfileRequest |
withAgentProfile(ByteBuffer agentProfile)
The submitted profiling data.
|
PostAgentProfileRequest |
withContentType(String contentType)
The format of the submitted profiling data.
|
PostAgentProfileRequest |
withProfileToken(String profileToken)
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of
duplicate profiling data if there are failures and retries.
|
PostAgentProfileRequest |
withProfilingGroupName(String profilingGroupName)
The name of the profiling group with the aggregated profile that receives the submitted profiling data.
|
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 void setAgentProfile(ByteBuffer agentProfile)
The submitted profiling data.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
agentProfile
- The submitted profiling data.public ByteBuffer getAgentProfile()
The submitted profiling data.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
public PostAgentProfileRequest withAgentProfile(ByteBuffer agentProfile)
The submitted profiling data.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
agentProfile
- The submitted profiling data.public void setContentType(String contentType)
The format of the submitted profiling data. The format maps to the Accept
and
Content-Type
headers of the HTTP request. You can specify one of the following: or the default .
<ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
contentType
- The format of the submitted profiling data. The format maps to the Accept
and
Content-Type
headers of the HTTP request. You can specify one of the following: or the
default .
<ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
public String getContentType()
The format of the submitted profiling data. The format maps to the Accept
and
Content-Type
headers of the HTTP request. You can specify one of the following: or the default .
<ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
Accept
and
Content-Type
headers of the HTTP request. You can specify one of the following: or the
default .
<ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
public PostAgentProfileRequest withContentType(String contentType)
The format of the submitted profiling data. The format maps to the Accept
and
Content-Type
headers of the HTTP request. You can specify one of the following: or the default .
<ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
contentType
- The format of the submitted profiling data. The format maps to the Accept
and
Content-Type
headers of the HTTP request. You can specify one of the following: or the
default .
<ul> <li> <p> <code>application/json</code> — standard JSON format </p> </li> <li> <p> <code>application/x-amzn-ion</code> — the Amazon Ion data format. For more information, see <a href="http://amzn.github.io/ion-docs/">Amazon Ion</a>. </p> </li> </ul>
public void setProfileToken(String profileToken)
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of duplicate profiling data if there are failures and retries.
profileToken
- Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental
submission of duplicate profiling data if there are failures and retries.public String getProfileToken()
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of duplicate profiling data if there are failures and retries.
public PostAgentProfileRequest withProfileToken(String profileToken)
Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of duplicate profiling data if there are failures and retries.
profileToken
- Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental
submission of duplicate profiling data if there are failures and retries.public void setProfilingGroupName(String profilingGroupName)
The name of the profiling group with the aggregated profile that receives the submitted profiling data.
profilingGroupName
- The name of the profiling group with the aggregated profile that receives the submitted profiling data.public String getProfilingGroupName()
The name of the profiling group with the aggregated profile that receives the submitted profiling data.
public PostAgentProfileRequest withProfilingGroupName(String profilingGroupName)
The name of the profiling group with the aggregated profile that receives the submitted profiling data.
profilingGroupName
- The name of the profiling group with the aggregated profile that receives the submitted profiling data.public String toString()
toString
in class Object
Object.toString()
public PostAgentProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()