public void setPartition(String partition) {
        this.partition = partition;
    }
<p>
The partition of the resource.
</p>

@param partition
       The partition of the resource.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/Resource.java