* The identifier (user name) of the user who created the recipe. *
*/ private String createdBy; /** ** The date and time that the recipe was created. *
*/ private java.util.Date createDate; /** ** The identifier (user name) of the user who last modified the recipe. *
*/ private String lastModifiedBy; /** ** The date and time that the recipe was last modified. *
*/ private java.util.Date lastModifiedDate; /** ** The name of the project associated with this recipe. *
*/ private String projectName; /** ** The identifier (user name) of the user who last published the recipe. *
*/ private String publishedBy; /** ** The date and time when the recipe was last published. *
*/ private java.util.Date publishedDate; /** ** The description of the recipe. *
*/ private String description; /** ** The name of the recipe. *
*/ private String name; /** ** One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which * the action should succeed. *
*/ private java.util.List* Metadata tags associated with this project. *
*/ private java.util.Map* The ARN of the recipe. *
*/ private String resourceArn; /** ** The recipe version identifier. *
*/ private String recipeVersion; /** ** The identifier (user name) of the user who created the recipe. *
* * @param createdBy * The identifier (user name) of the user who created the recipe. */ public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } /** ** The identifier (user name) of the user who created the recipe. *
* * @return The identifier (user name) of the user who created the recipe. */ public String getCreatedBy() { return this.createdBy; } /** ** The identifier (user name) of the user who created the recipe. *
* * @param createdBy * The identifier (user name) of the user who created the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecipeResult withCreatedBy(String createdBy) { setCreatedBy(createdBy); return this; } /** ** The date and time that the recipe was created. *
* * @param createDate * The date and time that the recipe was created. */ public void setCreateDate(java.util.Date createDate) { this.createDate = createDate; } /** ** The date and time that the recipe was created. *
* * @return The date and time that the recipe was created. */ public java.util.Date getCreateDate() { return this.createDate; } /** ** The date and time that the recipe was created. *
* * @param createDate * The date and time that the recipe was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecipeResult withCreateDate(java.util.Date createDate) { setCreateDate(createDate); return this; } /** ** The identifier (user name) of the user who last modified the recipe. *
* * @param lastModifiedBy * The identifier (user name) of the user who last modified the recipe. */ public void setLastModifiedBy(String lastModifiedBy) { this.lastModifiedBy = lastModifiedBy; } /** ** The identifier (user name) of the user who last modified the recipe. *
* * @return The identifier (user name) of the user who last modified the recipe. */ public String getLastModifiedBy() { return this.lastModifiedBy; } /** ** The identifier (user name) of the user who last modified the recipe. *
* * @param lastModifiedBy * The identifier (user name) of the user who last modified the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecipeResult withLastModifiedBy(String lastModifiedBy) { setLastModifiedBy(lastModifiedBy); return this; } /** ** The date and time that the recipe was last modified. *
* * @param lastModifiedDate * The date and time that the recipe was last modified. */ public void setLastModifiedDate(java.util.Date lastModifiedDate) { this.lastModifiedDate = lastModifiedDate; } /** ** The date and time that the recipe was last modified. *
* * @return The date and time that the recipe was last modified. */ public java.util.Date getLastModifiedDate() { return this.lastModifiedDate; } /** ** The date and time that the recipe was last modified. *
* * @param lastModifiedDate * The date and time that the recipe was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecipeResult withLastModifiedDate(java.util.Date lastModifiedDate) { setLastModifiedDate(lastModifiedDate); return this; } /** ** The name of the project associated with this recipe. *
* * @param projectName * The name of the project associated with this recipe. */ public void setProjectName(String projectName) { this.projectName = projectName; } /** ** The name of the project associated with this recipe. *
* * @return The name of the project associated with this recipe. */ public String getProjectName() { return this.projectName; } /** ** The name of the project associated with this recipe. *
* * @param projectName * The name of the project associated with this recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecipeResult withProjectName(String projectName) { setProjectName(projectName); return this; } /** ** The identifier (user name) of the user who last published the recipe. *
* * @param publishedBy * The identifier (user name) of the user who last published the recipe. */ public void setPublishedBy(String publishedBy) { this.publishedBy = publishedBy; } /** ** The identifier (user name) of the user who last published the recipe. *
* * @return The identifier (user name) of the user who last published the recipe. */ public String getPublishedBy() { return this.publishedBy; } /** ** The identifier (user name) of the user who last published the recipe. *
* * @param publishedBy * The identifier (user name) of the user who last published the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecipeResult withPublishedBy(String publishedBy) { setPublishedBy(publishedBy); return this; } /** ** The date and time when the recipe was last published. *
* * @param publishedDate * The date and time when the recipe was last published. */ public void setPublishedDate(java.util.Date publishedDate) { this.publishedDate = publishedDate; } /** ** The date and time when the recipe was last published. *
* * @return The date and time when the recipe was last published. */ public java.util.Date getPublishedDate() { return this.publishedDate; } /** ** The date and time when the recipe was last published. *
* * @param publishedDate * The date and time when the recipe was last published. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecipeResult withPublishedDate(java.util.Date publishedDate) { setPublishedDate(publishedDate); return this; } /** ** The description of the recipe. *
* * @param description * The description of the recipe. */ public void setDescription(String description) { this.description = description; } /** ** The description of the recipe. *
* * @return The description of the recipe. */ public String getDescription() { return this.description; } /** ** The description of the recipe. *
* * @param description * The description of the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecipeResult withDescription(String description) { setDescription(description); return this; } /** ** The name of the recipe. *
* * @param name * The name of the recipe. */ public void setName(String name) { this.name = name; } /** ** The name of the recipe. *
* * @return The name of the recipe. */ public String getName() { return this.name; } /** ** The name of the recipe. *
* * @param name * The name of the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecipeResult withName(String name) { setName(name); return this; } /** ** One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which * the action should succeed. *
* * @return One or more steps to be performed by the recipe. Each step consists of an action, and the conditions * under which the action should succeed. */ public java.util.List* One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which * the action should succeed. *
* * @param steps * One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under * which the action should succeed. */ public void setSteps(java.util.Collection* One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which * the action should succeed. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSteps(java.util.Collection)} or {@link #withSteps(java.util.Collection)} if you want to override the * existing values. *
* * @param steps * One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under * which the action should succeed. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecipeResult withSteps(RecipeStep... steps) { if (this.steps == null) { setSteps(new java.util.ArrayList* One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under which * the action should succeed. *
* * @param steps * One or more steps to be performed by the recipe. Each step consists of an action, and the conditions under * which the action should succeed. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecipeResult withSteps(java.util.Collection* Metadata tags associated with this project. *
* * @return Metadata tags associated with this project. */ public java.util.Map* Metadata tags associated with this project. *
* * @param tags * Metadata tags associated with this project. */ public void setTags(java.util.Map* Metadata tags associated with this project. *
* * @param tags * Metadata tags associated with this project. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecipeResult withTags(java.util.Map* The ARN of the recipe. *
* * @param resourceArn * The ARN of the recipe. */ public void setResourceArn(String resourceArn) { this.resourceArn = resourceArn; } /** ** The ARN of the recipe. *
* * @return The ARN of the recipe. */ public String getResourceArn() { return this.resourceArn; } /** ** The ARN of the recipe. *
* * @param resourceArn * The ARN of the recipe. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecipeResult withResourceArn(String resourceArn) { setResourceArn(resourceArn); return this; } /** ** The recipe version identifier. *
* * @param recipeVersion * The recipe version identifier. */ public void setRecipeVersion(String recipeVersion) { this.recipeVersion = recipeVersion; } /** ** The recipe version identifier. *
* * @return The recipe version identifier. */ public String getRecipeVersion() { return this.recipeVersion; } /** ** The recipe version identifier. *
* * @param recipeVersion * The recipe version identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeRecipeResult withRecipeVersion(String recipeVersion) { setRecipeVersion(recipeVersion); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getCreatedBy() != null) sb.append("CreatedBy: ").append(getCreatedBy()).append(","); if (getCreateDate() != null) sb.append("CreateDate: ").append(getCreateDate()).append(","); if (getLastModifiedBy() != null) sb.append("LastModifiedBy: ").append(getLastModifiedBy()).append(","); if (getLastModifiedDate() != null) sb.append("LastModifiedDate: ").append(getLastModifiedDate()).append(","); if (getProjectName() != null) sb.append("ProjectName: ").append(getProjectName()).append(","); if (getPublishedBy() != null) sb.append("PublishedBy: ").append(getPublishedBy()).append(","); if (getPublishedDate() != null) sb.append("PublishedDate: ").append(getPublishedDate()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getSteps() != null) sb.append("Steps: ").append(getSteps()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()).append(","); if (getResourceArn() != null) sb.append("ResourceArn: ").append(getResourceArn()).append(","); if (getRecipeVersion() != null) sb.append("RecipeVersion: ").append(getRecipeVersion()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeRecipeResult == false) return false; DescribeRecipeResult other = (DescribeRecipeResult) obj; if (other.getCreatedBy() == null ^ this.getCreatedBy() == null) return false; if (other.getCreatedBy() != null && other.getCreatedBy().equals(this.getCreatedBy()) == false) return false; if (other.getCreateDate() == null ^ this.getCreateDate() == null) return false; if (other.getCreateDate() != null && other.getCreateDate().equals(this.getCreateDate()) == false) return false; if (other.getLastModifiedBy() == null ^ this.getLastModifiedBy() == null) return false; if (other.getLastModifiedBy() != null && other.getLastModifiedBy().equals(this.getLastModifiedBy()) == false) return false; if (other.getLastModifiedDate() == null ^ this.getLastModifiedDate() == null) return false; if (other.getLastModifiedDate() != null && other.getLastModifiedDate().equals(this.getLastModifiedDate()) == false) return false; if (other.getProjectName() == null ^ this.getProjectName() == null) return false; if (other.getProjectName() != null && other.getProjectName().equals(this.getProjectName()) == false) return false; if (other.getPublishedBy() == null ^ this.getPublishedBy() == null) return false; if (other.getPublishedBy() != null && other.getPublishedBy().equals(this.getPublishedBy()) == false) return false; if (other.getPublishedDate() == null ^ this.getPublishedDate() == null) return false; if (other.getPublishedDate() != null && other.getPublishedDate().equals(this.getPublishedDate()) == false) return false; if (other.getDescription() == null ^ this.getDescription() == null) return false; if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getSteps() == null ^ this.getSteps() == null) return false; if (other.getSteps() != null && other.getSteps().equals(this.getSteps()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; if (other.getResourceArn() == null ^ this.getResourceArn() == null) return false; if (other.getResourceArn() != null && other.getResourceArn().equals(this.getResourceArn()) == false) return false; if (other.getRecipeVersion() == null ^ this.getRecipeVersion() == null) return false; if (other.getRecipeVersion() != null && other.getRecipeVersion().equals(this.getRecipeVersion()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCreatedBy() == null) ? 0 : getCreatedBy().hashCode()); hashCode = prime * hashCode + ((getCreateDate() == null) ? 0 : getCreateDate().hashCode()); hashCode = prime * hashCode + ((getLastModifiedBy() == null) ? 0 : getLastModifiedBy().hashCode()); hashCode = prime * hashCode + ((getLastModifiedDate() == null) ? 0 : getLastModifiedDate().hashCode()); hashCode = prime * hashCode + ((getProjectName() == null) ? 0 : getProjectName().hashCode()); hashCode = prime * hashCode + ((getPublishedBy() == null) ? 0 : getPublishedBy().hashCode()); hashCode = prime * hashCode + ((getPublishedDate() == null) ? 0 : getPublishedDate().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getSteps() == null) ? 0 : getSteps().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); hashCode = prime * hashCode + ((getResourceArn() == null) ? 0 : getResourceArn().hashCode()); hashCode = prime * hashCode + ((getRecipeVersion() == null) ? 0 : getRecipeVersion().hashCode()); return hashCode; } @Override public DescribeRecipeResult clone() { try { return (DescribeRecipeResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }