use of com.sequenceiq.cloudbreak.api.endpoint.v4.util.requests.SecurityRuleV4Request in project cloudbreak by hortonworks.
the class SecurityRuleRequestToSecurityRuleConverterTest method createRequest.
private SecurityRuleV4Request createRequest(String... ports) {
SecurityRuleV4Request request = new SecurityRuleV4Request();
request.setPorts(Arrays.asList(ports));
request.setModifiable(true);
request.setProtocol("tcp");
request.setSubnet("0.0.0.0/0");
return request;
}
Aggregations