public UpdateReplicationConfigurationResult withPitPolicy(PITPolicyRule... pitPolicy) {
        if (this.pitPolicy == null) {
            setPitPolicy(new java.util.ArrayList<PITPolicyRule>(pitPolicy.length));
        }
        for (PITPolicyRule ele : pitPolicy) {
            this.pitPolicy.add(ele);
        }
        return this;
    }
<p>
The Point in time (PIT) policy to manage snapshots taken during replication.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPitPolicy(java.util.Collection)} or {@link #withPitPolicy(java.util.Collection)} if you want to
override the existing values.
</p>

@param pitPolicy
       The Point in time (PIT) policy to manage snapshots taken during replication.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-drs/src/main/java/com/amazonaws/services/drs/model/UpdateReplicationConfigurationResult.java