Package com.oracle.bmc.bastion.responses
Class CreateSessionResponse
- java.lang.Object
-
- com.oracle.bmc.responses.BmcResponse
-
- com.oracle.bmc.bastion.responses.CreateSessionResponse
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210331") public class CreateSessionResponse extends BmcResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateSessionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateSessionResponse.Builder
builder()
Return a new builder for this response object.boolean
equals(Object o)
String
getEtag()
For optimistic concurrency control.String
getLocation()
this contains the full URI for the get request, e.g.String
getOpcRequestId()
Unique Oracle-assigned identifier for the request.String
getOpcWorkRequestId()
Unique Oracle-assigned identifier for the asynchronous request.Session
getSession()
The returned Session instance.int
hashCode()
String
toString()
-
Methods inherited from class com.oracle.bmc.responses.BmcResponse
canEqual, get__httpStatusCode__, getHeaders
-
-
-
-
Method Detail
-
getOpcWorkRequestId
public String getOpcWorkRequestId()
Unique Oracle-assigned identifier for the asynchronous request.You can use this to query status of the asynchronous operation.
- 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
-
getLocation
public String getLocation()
this contains the full URI for the get request, e.g.“https://iaas.us-phoenix-1.oraclecloud.com/20210331/bastions/
” - Returns:
- the value
-
getEtag
public String getEtag()
For optimistic concurrency control.See if-match.
- Returns:
- the value
-
getSession
public Session getSession()
The returned Session instance.- Returns:
- the value
-
builder
public static CreateSessionResponse.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
-
-