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.63.0/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 class
PostMetricDataRequest.Builder
-
Constructor Summary
Constructors Constructor Description PostMetricDataRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PostMetricDataRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.PostMetricDataDetails
getBody$()
Alternative accessor for the body parameter.String
getContentEncoding()
The optional Content-Encoding header that defines the content encodings that were applied to the payload.String
getOpcRequestId()
Customer part of the request identifier token.PostMetricDataDetails
getPostMetricDataDetails()
An array of metric objects containing raw metric data points to be posted to the Monitoring service.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.PostMetricDataRequest.Builder
toBuilder()
Return an instance ofPostMetricDataRequest.Builder
that allows you to modify request properties.String
toString()
-
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.Builder
that allows you to modify request properties.- Returns:
- instance of
PostMetricDataRequest.Builder
that 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:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<PostMetricDataDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<PostMetricDataDetails>
-
-