List of usage examples for com.amazonaws.services.ec2.model CreateVpcRequest getInstanceTenancy
public String getInstanceTenancy()
The tenancy options for instances launched into the VPC.
From source file:web.component.impl.aws.AWSEC2Impl.java
@Override public CreateVpcResult createVpc(CreateVpcRequest request) { if (request.getCidrBlock() == null || request.getCidrBlock().isEmpty()) throw new IllegalArgumentException("CIDR block not specified."); if (request.getInstanceTenancy() == null || request.getInstanceTenancy().isEmpty()) throw new IllegalArgumentException("Instance tenancy not specified."); return awsHttpClient.createVpc(request); }