Class PostAgentProfileRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerRequest
-
- software.amazon.awssdk.services.codeguruprofiler.model.PostAgentProfileRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PostAgentProfileRequest.Builder,PostAgentProfileRequest>
@Generated("software.amazon.awssdk:codegen") public final class PostAgentProfileRequest extends CodeGuruProfilerRequest implements ToCopyableBuilder<PostAgentProfileRequest.Builder,PostAgentProfileRequest>
The structure representing the postAgentProfileRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePostAgentProfileRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SdkBytesagentProfile()The submitted profiling data.static PostAgentProfileRequest.Builderbuilder()StringcontentType()The format of the submitted profiling data.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprofileToken()Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of duplicate profiling data if there are failures and retries.StringprofilingGroupName()The name of the profiling group with the aggregated profile that receives the submitted profiling data.List<SdkField<?>>sdkFields()static Class<? extends PostAgentProfileRequest.Builder>serializableBuilderClass()PostAgentProfileRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
agentProfile
public final SdkBytes agentProfile()
The submitted profiling data.
- Returns:
- The submitted profiling data.
-
contentType
public final String contentType()
The format of the submitted profiling data. The format maps to the
AcceptandContent-Typeheaders 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>- Returns:
- The format of the submitted profiling data. The format maps to the
AcceptandContent-Typeheaders 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>
-
profileToken
public final 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.
- Returns:
- Amazon CodeGuru Profiler uses this universally unique identifier (UUID) to prevent the accidental submission of duplicate profiling data if there are failures and retries.
-
profilingGroupName
public final String profilingGroupName()
The name of the profiling group with the aggregated profile that receives the submitted profiling data.
- Returns:
- The name of the profiling group with the aggregated profile that receives the submitted profiling data.
-
toBuilder
public PostAgentProfileRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PostAgentProfileRequest.Builder,PostAgentProfileRequest>- Specified by:
toBuilderin classCodeGuruProfilerRequest
-
builder
public static PostAgentProfileRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PostAgentProfileRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-