/** * <p> * Context information that enables AWS CloudFormation to uniquely identify a resource. AWS CloudFormation uses * context key-value pairs in cases where a resource's logical and physical IDs are not enough to uniquely identify * that resource. Each context key-value pair specifies a unique resource that contains the targeted resource. * </p> * * @param physicalResourceIdContext * Context information that enables AWS CloudFormation to uniquely identify a resource. AWS CloudFormation * uses context key-value pairs in cases where a resource's logical and physical IDs are not 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. */ public StackResourceDrift withPhysicalResourceIdContext(java.util.Collection<PhysicalResourceIdContextKeyValuePair> physicalResourceIdContext) { setPhysicalResourceIdContext(physicalResourceIdContext); return this; }
/** * <p> * Context information that enables AWS CloudFormation to uniquely identify a resource. AWS CloudFormation uses * context key-value pairs in cases where a resource's logical and physical IDs are not 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 AWS CloudFormation to uniquely identify a resource. AWS CloudFormation * uses context key-value pairs in cases where a resource's logical and physical IDs are not 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. */ 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 AWS CloudFormation to uniquely identify a resource. AWS CloudFormation uses * context key-value pairs in cases where a resource's logical and physical IDs are not enough to uniquely identify * that resource. Each context key-value pair specifies a unique resource that contains the targeted resource. * </p> * * @param physicalResourceIdContext * Context information that enables AWS CloudFormation to uniquely identify a resource. AWS CloudFormation * uses context key-value pairs in cases where a resource's logical and physical IDs are not 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. */ public StackResourceDrift withPhysicalResourceIdContext(java.util.Collection<PhysicalResourceIdContextKeyValuePair> physicalResourceIdContext) { setPhysicalResourceIdContext(physicalResourceIdContext); return this; }
/** * <p> * Context information that enables AWS CloudFormation to uniquely identify a resource. AWS CloudFormation uses * context key-value pairs in cases where a resource's logical and physical IDs are not 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 AWS CloudFormation to uniquely identify a resource. AWS CloudFormation * uses context key-value pairs in cases where a resource's logical and physical IDs are not 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. */ 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; }