public ModifyInstanceProfileRequest withPubliclyAccessible(Boolean publiclyAccessible) {
        setPubliclyAccessible(publiclyAccessible);
        return this;
    }
<p>
Specifies the accessibility options for the instance profile. A value of <code>true</code> represents an instance
profile with a public IP address. A value of <code>false</code> represents an instance profile with a private IP
address. The default value is <code>true</code>.
</p>

@param publiclyAccessible
       Specifies the accessibility options for the instance profile. A value of <code>true</code> represents an
       instance profile with a public IP address. A value of <code>false</code> represents an instance profile
       with a private IP address. The default value is <code>true</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/ModifyInstanceProfileRequest.java