Package com.oracle.bmc.bastion.responses
Class CreateBastionResponse
- java.lang.Object
-
- com.oracle.bmc.responses.BmcResponse
-
- com.oracle.bmc.bastion.responses.CreateBastionResponse
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20210331") public class CreateBastionResponse extends BmcResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateBastionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateBastionResponse.Builder
builder()
Return a new builder for this response object.boolean
equals(Object o)
Bastion
getBastion()
The returned Bastion instance.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.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
-
getBastion
public Bastion getBastion()
The returned Bastion instance.- Returns:
- the value
-
builder
public static CreateBastionResponse.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
-
-