tvaultapi/src/main/java/com/tmobile/cso/vault/api/service/IAMServiceAccountsService.java
private Response updateMetadata(String token, String iamUniqueSvcaccName, String type, String name, String access) {
		String path = new StringBuffer(IAMServiceAccountConstants.IAM_SVCC_ACC_PATH).append(iamUniqueSvcaccName)
				.toString();

		Map<String, String> params = new HashMap<>();
		params.put(IAMServiceAccountConstants.IAM_TYPE_MSG_STRING, type);
		params.put(IAMServiceAccountConstants.IAM_NAME_MSG_STRING, name);
		params.put(IAMServiceAccountConstants.IAM_PATH_MSG_STRING, path);
		params.put(IAMServiceAccountConstants.IAM_ACCESS_MSG_STRING, access);

		return ControllerUtil.updateMetadata(params, token);
	}
/**
	 * Method to update metadata for given type.
	 * @param token
	 * @param iamUniqueSvcaccName
	 * @param type
	 * @param name
	 * @param access
	 * @return ResponseEntity<String>
	 */
Method to update metadata for given type.
Method to update metadata for given type .
private Response updateMetadata(String token, String iamUniqueSvcaccName, String type, String name, String access) {
		String path = new StringBuffer(IAMServiceAccountConstants.IAM_SVCC_ACC_PATH).append(iamUniqueSvcaccName)
				.toString();
		Map<String, String> params = new HashMap<>();
		params.put(IAMServiceAccountConstants.IAM_TYPE_MSG_STRING, type);
		params.put(IAMServiceAccountConstants.IAM_NAME_MSG_STRING, name);
		params.put(IAMServiceAccountConstants.IAM_PATH_MSG_STRING, path);
		params.put(IAMServiceAccountConstants.IAM_ACCESS_MSG_STRING, access);
		return ControllerUtil.updateMetadata(params, token);
	}
private Response updateMetadata ( String token , String iamUniqueSvcaccName , String type , String name , String access ) { String path = new StringBuffer ( IAMServiceAccountConstants . IAM_SVCC_ACC_PATH ) . append ( iamUniqueSvcaccName ) . toString ( ) ; Map < String , String > params = new HashMap < > ( ) ; params . put ( IAMServiceAccountConstants . IAM_TYPE_MSG_STRING , type ) ; params . put ( IAMServiceAccountConstants . IAM_NAME_MSG_STRING , name ) ; params . put ( IAMServiceAccountConstants . IAM_PATH_MSG_STRING , path ) ; params . put ( IAMServiceAccountConstants . IAM_ACCESS_MSG_STRING , access ) ; return ControllerUtil . updateMetadata ( params , token ) ; }
Method to update metadata for given type.
Method to update metadata for given type .