@Test public void getDefaultCredentialsTest() { String path = getInstanceDefaultCredentialsPath(INSTANCE_ID); assertEquals(EXPECTED_GET_INSTANCE_DEFAULT_CREDENTIALS_PATH, path); }
@NotNull public static String getInstanceDefaultCredentialsPath(@NotNull final String instanceId) { StringBuilder pathString = new StringBuilder() .append(API_VERSION) .append(LIST_INSTANCES) .append(instanceId) .append(GET_INSTANCE_DEFAULT_CREDENTIALS_OPERATION_PATH); return pathString.toString(); }
InstanceImpl { @NotNull public static String getInstanceDefaultCredentialsPath(@NotNull final String instanceId) { StringBuilder pathString = new StringBuilder() .append(API_VERSION) .append(LIST_INSTANCES) .append(instanceId) .append(GET_INSTANCE_DEFAULT_CREDENTIALS_OPERATION_PATH); return pathString.toString(); } }
InstanceImpl { @NotNull public static String getInstanceDefaultCredentialsPath(@NotNull final String instanceId) { StringBuilder pathString = new StringBuilder() .append(API_VERSION) .append(LIST_INSTANCES) .append(instanceId) .append(GET_INSTANCE_DEFAULT_CREDENTIALS_OPERATION_PATH); return pathString.toString(); }  }
InstanceImpl { @NotNull public static String getInstanceDefaultCredentialsPath(@NotNull final String instanceId) { StringBuilder pathString = new StringBuilder() .append(API_VERSION) .append(LIST_INSTANCES) .append(instanceId) .append(GET_INSTANCE_DEFAULT_CREDENTIALS_OPERATION_PATH); return pathString.toString(); }  @NotNull static Map<String, String> createInstance(@NotNull final OCICreateInstanceInputs createInstancesInputs); @NotNull static Map<String, String> updateInstance(@NotNull final OCIUpdateInstanceInputs ociUpdateInstanceInputs); @NotNull static Map<String, String> listInstances(@NotNull final OCIListInstanceInputs ociListInstanceInputs); @NotNull static Map<String, String> terminateInstance(@NotNull final OCITerminateInstanceInputs ociTerminateInstanceInputs); @NotNull static Map<String, String> instanceAction(@NotNull final OCIInstanceActionInputs ociInstanceActionInputs); @NotNull static Map<String, String> getInstanceDetails(@NotNull final OCICommonInputs ociCommonInputs); @NotNull static Map<String, String> getInstanceDefaultCredentials(@NotNull final OCICommonInputs ociCommonInputs); @NotNull static String listInstancesPath(); @NotNull static String getInstanceDetailsPath(@NotNull final String instanceId); @NotNull static String getInstanceDefaultCredentialsPath(@NotNull final String instanceId); }
InstanceImpl { @NotNull public static String getInstanceDefaultCredentialsPath(@NotNull final String instanceId) { StringBuilder pathString = new StringBuilder() .append(API_VERSION) .append(LIST_INSTANCES) .append(instanceId) .append(GET_INSTANCE_DEFAULT_CREDENTIALS_OPERATION_PATH); return pathString.toString(); }  @NotNull static Map<String, String> createInstance(@NotNull final OCICreateInstanceInputs createInstancesInputs); @NotNull static Map<String, String> updateInstance(@NotNull final OCIUpdateInstanceInputs ociUpdateInstanceInputs); @NotNull static Map<String, String> listInstances(@NotNull final OCIListInstanceInputs ociListInstanceInputs); @NotNull static Map<String, String> terminateInstance(@NotNull final OCITerminateInstanceInputs ociTerminateInstanceInputs); @NotNull static Map<String, String> instanceAction(@NotNull final OCIInstanceActionInputs ociInstanceActionInputs); @NotNull static Map<String, String> getInstanceDetails(@NotNull final OCICommonInputs ociCommonInputs); @NotNull static Map<String, String> getInstanceDefaultCredentials(@NotNull final OCICommonInputs ociCommonInputs); @NotNull static String listInstancesPath(); @NotNull static String getInstanceDetailsPath(@NotNull final String instanceId); @NotNull static String getInstanceDefaultCredentialsPath(@NotNull final String instanceId);  }