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/latest/monitoring/PostMetricDataExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use PostMetricDataRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostMetricDataRequest.Builder
-
Constructor Summary
Constructors Constructor Description PostMetricDataRequest()
-
Method Summary
All 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.BmcRequest
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getPostMetricDataDetails
public PostMetricDataDetails getPostMetricDataDetails()
An array of metric objects containing raw metric data points to be posted to the Monitoring service.
-
getOpcRequestId
public 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.
-
getContentEncoding
public 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 classBmcRequest<PostMetricDataDetails>- Returns:
- body parameter
-
toBuilder
public 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.
-
builder
public static PostMetricDataRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<PostMetricDataDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<PostMetricDataDetails>
-
-