public void setInstanceTypes(java.util.Collection<String> instanceTypes) {
        if (instanceTypes == null) {
            this.instanceTypes = null;
            return;
        }

        this.instanceTypes = new java.util.ArrayList<String>(instanceTypes);
    }
<p>
The instance types of the infrastructure configuration.
</p>

@param instanceTypes
       The instance types of the infrastructure configuration.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/InfrastructureConfigurationSummary.java