/** * <p> * The list of tags associated with this image. * </p> * * @param imageTags * The list of tags associated with this image. * @return Returns a reference to this object so that method calls can be chained together. */ public LifecyclePolicyPreviewResult withImageTags(java.util.Collection<String> imageTags) { setImageTags(imageTags); return this; }
/** * <p> * The list of tags associated with this image. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setImageTags(java.util.Collection)} or {@link #withImageTags(java.util.Collection)} if you want to * override the existing values. * </p> * * @param imageTags * The list of tags associated with this image. * @return Returns a reference to this object so that method calls can be chained together. */ public LifecyclePolicyPreviewResult withImageTags(String... imageTags) { if (this.imageTags == null) { setImageTags(new java.util.ArrayList<String>(imageTags.length)); } for (String ele : imageTags) { this.imageTags.add(ele); } return this; }
if (context.testExpression("imageTags", targetDepth)) { context.nextToken(); lifecyclePolicyPreviewResult.setImageTags(new ListUnmarshaller<String>(context.getUnmarshaller(String.class)).unmarshall(context));
/** * <p> * The list of tags associated with this image. * </p> * * @param imageTags * The list of tags associated with this image. * @return Returns a reference to this object so that method calls can be chained together. */ public LifecyclePolicyPreviewResult withImageTags(java.util.Collection<String> imageTags) { setImageTags(imageTags); return this; }
/** * <p> * The list of tags associated with this image. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setImageTags(java.util.Collection)} or {@link #withImageTags(java.util.Collection)} if you want to * override the existing values. * </p> * * @param imageTags * The list of tags associated with this image. * @return Returns a reference to this object so that method calls can be chained together. */ public LifecyclePolicyPreviewResult withImageTags(String... imageTags) { if (this.imageTags == null) { setImageTags(new java.util.ArrayList<String>(imageTags.length)); } for (String ele : imageTags) { this.imageTags.add(ele); } return this; }
if (context.testExpression("imageTags", targetDepth)) { context.nextToken(); lifecyclePolicyPreviewResult.setImageTags(new ListUnmarshaller<String>(context.getUnmarshaller(String.class)).unmarshall(context));