Class PostMetricDataRequest
- java.lang.Object
- 
- com.oracle.bmc.requests.BmcRequest<PostMetricDataDetails>
- 
- com.oracle.bmc.monitoring.requests.PostMetricDataRequest
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20180401") public class PostMetricDataRequest extends BmcRequest<PostMetricDataDetails>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/monitoring/PostMetricDataExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use PostMetricDataRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPostMetricDataRequest.Builder
 - 
Constructor SummaryConstructors Constructor Description PostMetricDataRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PostMetricDataRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.PostMetricDataDetailsgetBody$()Alternative accessor for the body parameter.StringgetContentEncoding()The optional Content-Encoding header that defines the content encodings that were applied to the payload.StringgetOpcRequestId()Customer part of the request identifier token.PostMetricDataDetailsgetPostMetricDataDetails()An array of metric objects containing raw metric data points to be posted to the Monitoring service.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.PostMetricDataRequest.BuildertoBuilder()Return an instance ofPostMetricDataRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getPostMetricDataDetailspublic PostMetricDataDetails getPostMetricDataDetails() An array of metric objects containing raw metric data points to be posted to the Monitoring service.
 - 
getOpcRequestIdpublic String getOpcRequestId() Customer part of the request identifier token.If you need to contact Oracle about a particular request, please provide the complete request ID. 
 - 
getContentEncodingpublic String getContentEncoding() The optional Content-Encoding header that defines the content encodings that were applied to the payload.
 - 
getBody$public PostMetricDataDetails getBody$() Alternative accessor for the body parameter.- Overrides:
- getBody$in class- BmcRequest<PostMetricDataDetails>
- Returns:
- body parameter
 
 - 
toBuilderpublic PostMetricDataRequest.Builder toBuilder() Return an instance ofPostMetricDataRequest.Builderthat allows you to modify request properties.- Returns:
- instance of PostMetricDataRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static PostMetricDataRequest.Builder builder() Return a new builder for this request object.- Returns:
- builder for the request object
 
 - 
equalspublic boolean equals(Object o) Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
- equalsin class- BmcRequest<PostMetricDataDetails>
 
 - 
hashCodepublic int hashCode() Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
- hashCodein class- BmcRequest<PostMetricDataDetails>
 
 
- 
 
-