@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PostAgentProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request for PostAgentProfile operation.
NOOP| Constructor and Description |
|---|
PostAgentProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
PostAgentProfileRequest |
clone() |
boolean |
equals(Object obj) |
ByteBuffer |
getAgentProfile()
ByteBuffers are stateful. |
String |
getContentType()
The content type of the agent profile in the payload.
|
String |
getProfileToken()
Client generated token to deduplicate the agent profile during aggregation.
|
String |
getProfilingGroupName() |
int |
hashCode() |
void |
setAgentProfile(ByteBuffer agentProfile)
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service.
|
void |
setContentType(String contentType)
The content type of the agent profile in the payload.
|
void |
setProfileToken(String profileToken)
Client generated token to deduplicate the agent profile during aggregation.
|
void |
setProfilingGroupName(String profilingGroupName) |
String |
toString()
Returns a string representation of this object.
|
PostAgentProfileRequest |
withAgentProfile(ByteBuffer agentProfile)
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service.
|
PostAgentProfileRequest |
withContentType(String contentType)
The content type of the agent profile in the payload.
|
PostAgentProfileRequest |
withProfileToken(String profileToken)
Client generated token to deduplicate the agent profile during aggregation.
|
PostAgentProfileRequest |
withProfilingGroupName(String profilingGroupName) |
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setAgentProfile(ByteBuffer agentProfile)
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 - public ByteBuffer getAgentProfile()
ByteBuffers 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 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 - public void setContentType(String contentType)
The content type of the agent profile in the payload. Recommended to send the profile gzipped with content-type application/octet-stream. Other accepted values are application/x-amzn-ion and application/json for unzipped Ion and JSON respectively.
contentType - The content type of the agent profile in the payload. Recommended to send the profile gzipped with
content-type application/octet-stream. Other accepted values are application/x-amzn-ion and
application/json for unzipped Ion and JSON respectively.public String getContentType()
The content type of the agent profile in the payload. Recommended to send the profile gzipped with content-type application/octet-stream. Other accepted values are application/x-amzn-ion and application/json for unzipped Ion and JSON respectively.
public PostAgentProfileRequest withContentType(String contentType)
The content type of the agent profile in the payload. Recommended to send the profile gzipped with content-type application/octet-stream. Other accepted values are application/x-amzn-ion and application/json for unzipped Ion and JSON respectively.
contentType - The content type of the agent profile in the payload. Recommended to send the profile gzipped with
content-type application/octet-stream. Other accepted values are application/x-amzn-ion and
application/json for unzipped Ion and JSON respectively.public void setProfileToken(String profileToken)
Client generated token to deduplicate the agent profile during aggregation.
profileToken - Client generated token to deduplicate the agent profile during aggregation.public String getProfileToken()
Client generated token to deduplicate the agent profile during aggregation.
public PostAgentProfileRequest withProfileToken(String profileToken)
Client generated token to deduplicate the agent profile during aggregation.
profileToken - Client generated token to deduplicate the agent profile during aggregation.public void setProfilingGroupName(String profilingGroupName)
profilingGroupName - public String getProfilingGroupName()
public PostAgentProfileRequest withProfilingGroupName(String profilingGroupName)
profilingGroupName - public String toString()
toString in class ObjectObject.toString()public PostAgentProfileRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.