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 classCreateBastionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateBastionResponse.Builderbuilder()Return a new builder for this response object.booleanequals(Object o)BastiongetBastion()The returned Bastion instance.StringgetEtag()For optimistic concurrency control.StringgetLocation()this contains the full URI for the get request, e.g.StringgetOpcRequestId()Unique Oracle-assigned identifier for the request.StringgetOpcWorkRequestId()Unique Oracle-assigned identifier for the asynchronous request.inthashCode()StringtoString()-
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:
equalsin classBmcResponse
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBmcResponse
-
-