Package com.oracle.bmc.opsi.requests
Class PutAwrHubObjectRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<InputStream>
-
- com.oracle.bmc.opsi.requests.PutAwrHubObjectRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public class PutAwrHubObjectRequest extends BmcRequest<InputStream>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/opsi/PutAwrHubObjectExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use PutAwrHubObjectRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PutAwrHubObjectRequest.Builder
-
Constructor Summary
Constructors Constructor Description PutAwrHubObjectRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutAwrHubObjectRequest.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’.String
getAwrHubSourceId()
Unique Awr Hub Source identifierInputStream
getBody$()
Alternative accessor for the body parameter.String
getIfMatch()
Used for optimistic concurrency control.String
getObjectName()
Unique Awr Hub Object identifierString
getOpcRequestId()
Unique Oracle-assigned identifier for the request.InputStream
getPutAwrHubObjectBody()
The object to be uploaded to the Awr Hub.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.PutAwrHubObjectRequest.Builder
toBuilder()
Return an instance ofPutAwrHubObjectRequest.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
-
getPutAwrHubObjectBody
public InputStream getPutAwrHubObjectBody()
The object to be uploaded to the Awr Hub.
-
getAwrHubSourceId
public String getAwrHubSourceId()
Unique Awr Hub Source identifier
-
getObjectName
public String getObjectName()
Unique Awr Hub Object identifier
-
getIfMatch
public String getIfMatch()
Used for optimistic concurrency control.In the update or delete call for a resource, set the if-match parameter to the value of the etag from a previous get, create, or update response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
-
getOpcRequestId
public String getOpcRequestId()
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
-
getBody$
public InputStream getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$
in classBmcRequest<InputStream>
- Returns:
- body parameter
-
toBuilder
public PutAwrHubObjectRequest.Builder toBuilder()
Return an instance ofPutAwrHubObjectRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
PutAwrHubObjectRequest.Builder
that allows you to modify request properties.
-
builder
public static PutAwrHubObjectRequest.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<InputStream>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<InputStream>
-
-