Class CreateAgentResponse
- java.lang.Object
-
- com.oracle.bmc.responses.BmcResponse
-
- com.oracle.bmc.generativeaiagent.responses.CreateAgentResponse
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20240531") public class CreateAgentResponse extends BmcResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateAgentResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateAgentResponse.Builder
builder()
Return a new builder for this response object.boolean
equals(Object o)
Agent
getAgent()
The returned Agent instance.String
getContentLocation()
Same as location.String
getEtag()
For optimistic concurrency control.String
getLocation()
URL for the created agent.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.String
getOpcWorkRequestId()
The OCID of the asynchronous work request.int
hashCode()
String
toString()
-
Methods inherited from class com.oracle.bmc.responses.BmcResponse
canEqual, get__httpStatusCode__, getHeaders
-
-
-
-
Method Detail
-
getLocation
public String getLocation()
URL for the created agent.The agent OCID is generated after this request is sent.
- Returns:
- the value
-
getContentLocation
public String getContentLocation()
Same as location.- Returns:
- the value
-
getEtag
public String getEtag()
For optimistic concurrency control.See if-match.
- Returns:
- the value
-
getOpcWorkRequestId
public String getOpcWorkRequestId()
The OCID of the asynchronous work request.Use GetWorkRequest with this ID to track the status of the request.
- Returns:
- the 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.
- Returns:
- the value
-
getAgent
public Agent getAgent()
The returned Agent instance.- Returns:
- the value
-
builder
public static CreateAgentResponse.Builder builder()
Return a new builder for this response object.- Returns:
- builder for the response object
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classBmcResponse
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classBmcResponse
-
-