/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.imagebuilder.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* A summary of an image recipe. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ImageRecipeSummary implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Resource Name (ARN) of the image recipe. *
*/ private String arn; /** ** The name of the image recipe. *
*/ private String name; /** ** The platform of the image recipe. *
*/ private String platform; /** ** The owner of the image recipe. *
*/ private String owner; /** ** The base image of the image recipe. *
*/ private String parentImage; /** ** The date on which this image recipe was created. *
*/ private String dateCreated; /** ** The tags of the image recipe. *
*/ private java.util.Map* The Amazon Resource Name (ARN) of the image recipe. *
* * @param arn * The Amazon Resource Name (ARN) of the image recipe. */ public void setArn(String arn) { this.arn = arn; } /** ** The Amazon Resource Name (ARN) of the image recipe. *
* * @return The Amazon Resource Name (ARN) of the image recipe. */ public String getArn() { return this.arn; } /** ** The Amazon Resource Name (ARN) of the image recipe. *
* * @param arn * The Amazon Resource Name (ARN) of the image recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public ImageRecipeSummary withArn(String arn) { setArn(arn); return this; } /** ** The name of the image recipe. *
* * @param name * The name of the image recipe. */ public void setName(String name) { this.name = name; } /** ** The name of the image recipe. *
* * @return The name of the image recipe. */ public String getName() { return this.name; } /** ** The name of the image recipe. *
* * @param name * The name of the image recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public ImageRecipeSummary withName(String name) { setName(name); return this; } /** ** The platform of the image recipe. *
* * @param platform * The platform of the image recipe. * @see Platform */ public void setPlatform(String platform) { this.platform = platform; } /** ** The platform of the image recipe. *
* * @return The platform of the image recipe. * @see Platform */ public String getPlatform() { return this.platform; } /** ** The platform of the image recipe. *
* * @param platform * The platform of the image recipe. * @return Returns a reference to this object so that method calls can be chained together. * @see Platform */ public ImageRecipeSummary withPlatform(String platform) { setPlatform(platform); return this; } /** ** The platform of the image recipe. *
* * @param platform * The platform of the image recipe. * @return Returns a reference to this object so that method calls can be chained together. * @see Platform */ public ImageRecipeSummary withPlatform(Platform platform) { this.platform = platform.toString(); return this; } /** ** The owner of the image recipe. *
* * @param owner * The owner of the image recipe. */ public void setOwner(String owner) { this.owner = owner; } /** ** The owner of the image recipe. *
* * @return The owner of the image recipe. */ public String getOwner() { return this.owner; } /** ** The owner of the image recipe. *
* * @param owner * The owner of the image recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public ImageRecipeSummary withOwner(String owner) { setOwner(owner); return this; } /** ** The base image of the image recipe. *
* * @param parentImage * The base image of the image recipe. */ public void setParentImage(String parentImage) { this.parentImage = parentImage; } /** ** The base image of the image recipe. *
* * @return The base image of the image recipe. */ public String getParentImage() { return this.parentImage; } /** ** The base image of the image recipe. *
* * @param parentImage * The base image of the image recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public ImageRecipeSummary withParentImage(String parentImage) { setParentImage(parentImage); return this; } /** ** The date on which this image recipe was created. *
* * @param dateCreated * The date on which this image recipe was created. */ public void setDateCreated(String dateCreated) { this.dateCreated = dateCreated; } /** ** The date on which this image recipe was created. *
* * @return The date on which this image recipe was created. */ public String getDateCreated() { return this.dateCreated; } /** ** The date on which this image recipe was created. *
* * @param dateCreated * The date on which this image recipe was created. * @return Returns a reference to this object so that method calls can be chained together. */ public ImageRecipeSummary withDateCreated(String dateCreated) { setDateCreated(dateCreated); return this; } /** ** The tags of the image recipe. *
* * @return The tags of the image recipe. */ public java.util.Map* The tags of the image recipe. *
* * @param tags * The tags of the image recipe. */ public void setTags(java.util.Map* The tags of the image recipe. *
* * @param tags * The tags of the image recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public ImageRecipeSummary withTags(java.util.Map