@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() |
boolean |
equals(Object obj) |
ByteBuffer |
getAgentProfile()
|
String |
getContentType()
|
String |
getProfileToken()
|
String |
getProfilingGroupName()
|
int |
hashCode() |
void |
setAgentProfile(ByteBuffer agentProfile)
|
void |
setContentType(String contentType)
|
void |
setProfileToken(String profileToken)
|
void |
setProfilingGroupName(String profilingGroupName)
|
String |
toString()
Returns a string representation of this object.
|
PostAgentProfileRequest |
withAgentProfile(ByteBuffer agentProfile)
|
PostAgentProfileRequest |
withContentType(String contentType)
|
PostAgentProfileRequest |
withProfileToken(String profileToken)
|
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)
contentType - public String getContentType()
public PostAgentProfileRequest withContentType(String contentType)
contentType - public void setProfileToken(String profileToken)
profileToken - public String getProfileToken()
public PostAgentProfileRequest withProfileToken(String profileToken)
profileToken - 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.