public StackResourceDrift withPhysicalResourceIdContext(PhysicalResourceIdContextKeyValuePair... physicalResourceIdContext) {
        if (this.physicalResourceIdContext == null) {
            setPhysicalResourceIdContext(new com.amazonaws.internal.SdkInternalList<PhysicalResourceIdContextKeyValuePair>(physicalResourceIdContext.length));
        }
        for (PhysicalResourceIdContextKeyValuePair ele : physicalResourceIdContext) {
            this.physicalResourceIdContext.add(ele);
        }
        return this;
    }
<p>
Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses context
key-value pairs in cases where a resource's logical and physical IDs aren't enough to uniquely identify that
resource. Each context key-value pair specifies a unique resource that contains the targeted resource.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPhysicalResourceIdContext(java.util.Collection)} or
{@link #withPhysicalResourceIdContext(java.util.Collection)} if you want to override the existing values.
</p>

@param physicalResourceIdContext
       Context information that enables CloudFormation to uniquely identify a resource. CloudFormation uses
       context key-value pairs in cases where a resource's logical and physical IDs aren't enough to uniquely
       identify that resource. Each context key-value pair specifies a unique resource that contains the targeted
       resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/StackResourceDrift.java