public String getPartition() {
        return this.partition;
    }
<p>
The partition of the resource.
</p>

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