use of com.sequenceiq.environment.api.v1.environment.model.EnvironmentNetworkAwsParams in project cloudbreak by hortonworks.
the class NetworkV1ToNetworkV4ConverterTest method awsEnvironmentNetwork.
private DetailedEnvironmentResponse awsEnvironmentNetwork() {
DetailedEnvironmentResponse der = new DetailedEnvironmentResponse();
der.setCloudPlatform("AWS");
EnvironmentNetworkResponse environmentNetworkResponse = new EnvironmentNetworkResponse();
environmentNetworkResponse.setSubnetIds(SUBNET_IDS);
environmentNetworkResponse.setPreferedSubnetId(SUBNET_ID);
EnvironmentNetworkAwsParams environmentNetworkAwsParams = new EnvironmentNetworkAwsParams();
environmentNetworkAwsParams.setVpcId(VPC_ID);
environmentNetworkResponse.setAws(environmentNetworkAwsParams);
der.setNetwork(environmentNetworkResponse);
return der;
}
Aggregations