/* * 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.iot1clickprojects.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* An object providing detailed information for a particular project associated with an AWS account and region. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ProjectDescription implements Serializable, Cloneable, StructuredPojo { /** ** The ARN of the project. *
*/ private String arn; /** ** The name of the project for which to obtain information from. *
*/ private String projectName; /** ** The description of the project. *
*/ private String description; /** ** The date when the project was originally created, in UNIX epoch time format. *
*/ private java.util.Date createdDate; /** *
* The date when the project was last updated, in UNIX epoch time format. If the project was not updated, then
* createdDate
and updatedDate
are the same.
*
* An object describing the project's placement specifications. *
*/ private PlacementTemplate placementTemplate; /** ** The tags (metadata key/value pairs) associated with the project. *
*/ private java.util.Map* The ARN of the project. *
* * @param arn * The ARN of the project. */ public void setArn(String arn) { this.arn = arn; } /** ** The ARN of the project. *
* * @return The ARN of the project. */ public String getArn() { return this.arn; } /** ** The ARN of the project. *
* * @param arn * The ARN of the project. * @return Returns a reference to this object so that method calls can be chained together. */ public ProjectDescription withArn(String arn) { setArn(arn); return this; } /** ** The name of the project for which to obtain information from. *
* * @param projectName * The name of the project for which to obtain information from. */ public void setProjectName(String projectName) { this.projectName = projectName; } /** ** The name of the project for which to obtain information from. *
* * @return The name of the project for which to obtain information from. */ public String getProjectName() { return this.projectName; } /** ** The name of the project for which to obtain information from. *
* * @param projectName * The name of the project for which to obtain information from. * @return Returns a reference to this object so that method calls can be chained together. */ public ProjectDescription withProjectName(String projectName) { setProjectName(projectName); return this; } /** ** The description of the project. *
* * @param description * The description of the project. */ public void setDescription(String description) { this.description = description; } /** ** The description of the project. *
* * @return The description of the project. */ public String getDescription() { return this.description; } /** ** The description of the project. *
* * @param description * The description of the project. * @return Returns a reference to this object so that method calls can be chained together. */ public ProjectDescription withDescription(String description) { setDescription(description); return this; } /** ** The date when the project was originally created, in UNIX epoch time format. *
* * @param createdDate * The date when the project was originally created, in UNIX epoch time format. */ public void setCreatedDate(java.util.Date createdDate) { this.createdDate = createdDate; } /** ** The date when the project was originally created, in UNIX epoch time format. *
* * @return The date when the project was originally created, in UNIX epoch time format. */ public java.util.Date getCreatedDate() { return this.createdDate; } /** ** The date when the project was originally created, in UNIX epoch time format. *
* * @param createdDate * The date when the project was originally created, in UNIX epoch time format. * @return Returns a reference to this object so that method calls can be chained together. */ public ProjectDescription withCreatedDate(java.util.Date createdDate) { setCreatedDate(createdDate); return this; } /** *
* The date when the project was last updated, in UNIX epoch time format. If the project was not updated, then
* createdDate
and updatedDate
are the same.
*
createdDate
and updatedDate
are the same.
*/
public void setUpdatedDate(java.util.Date updatedDate) {
this.updatedDate = updatedDate;
}
/**
*
* The date when the project was last updated, in UNIX epoch time format. If the project was not updated, then
* createdDate
and updatedDate
are the same.
*
createdDate
and updatedDate
are the same.
*/
public java.util.Date getUpdatedDate() {
return this.updatedDate;
}
/**
*
* The date when the project was last updated, in UNIX epoch time format. If the project was not updated, then
* createdDate
and updatedDate
are the same.
*
createdDate
and updatedDate
are the same.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ProjectDescription withUpdatedDate(java.util.Date updatedDate) {
setUpdatedDate(updatedDate);
return this;
}
/**
* * An object describing the project's placement specifications. *
* * @param placementTemplate * An object describing the project's placement specifications. */ public void setPlacementTemplate(PlacementTemplate placementTemplate) { this.placementTemplate = placementTemplate; } /** ** An object describing the project's placement specifications. *
* * @return An object describing the project's placement specifications. */ public PlacementTemplate getPlacementTemplate() { return this.placementTemplate; } /** ** An object describing the project's placement specifications. *
* * @param placementTemplate * An object describing the project's placement specifications. * @return Returns a reference to this object so that method calls can be chained together. */ public ProjectDescription withPlacementTemplate(PlacementTemplate placementTemplate) { setPlacementTemplate(placementTemplate); return this; } /** ** The tags (metadata key/value pairs) associated with the project. *
* * @return The tags (metadata key/value pairs) associated with the project. */ public java.util.Map* The tags (metadata key/value pairs) associated with the project. *
* * @param tags * The tags (metadata key/value pairs) associated with the project. */ public void setTags(java.util.Map* The tags (metadata key/value pairs) associated with the project. *
* * @param tags * The tags (metadata key/value pairs) associated with the project. * @return Returns a reference to this object so that method calls can be chained together. */ public ProjectDescription withTags(java.util.Map