public void setLocality(String locality) {
        this.locality = locality;
    }
<p>
A string of the address locality.
</p>

@param locality
       A string of the address locality.
aws-java-sdk-identitystore/src/main/java/com/amazonaws/services/identitystore/model/Address.java