All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.datazone.model.GetEnvironmentBlueprintResult Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon DataZone module holds the client classes that are used for communicating with Amazon DataZone Service

The newest version!
/*
 * Copyright 2019-2024 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.datazone.model;

import java.io.Serializable;
import javax.annotation.Generated;

/**
 * 
 * @see AWS
 *      API Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class GetEnvironmentBlueprintResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {

    /**
     * 

* A timestamp of when this blueprint was created. *

*/ private java.util.Date createdAt; /** *

* The deployment properties of this Amazon DataZone blueprint. *

*/ private DeploymentProperties deploymentProperties; /** *

* The description of this Amazon DataZone blueprint. *

*/ private String description; /** *

* The glossary terms attached to this Amazon DataZone blueprint. *

*/ private java.util.List glossaryTerms; /** *

* The ID of this Amazon DataZone blueprint. *

*/ private String id; /** *

* The name of this Amazon DataZone blueprint. *

*/ private String name; /** *

* The provider of this Amazon DataZone blueprint. *

*/ private String provider; /** *

* The provisioning properties of this Amazon DataZone blueprint. *

*/ private ProvisioningProperties provisioningProperties; /** *

* The timestamp of when this blueprint was updated. *

*/ private java.util.Date updatedAt; /** *

* The user parameters of this blueprint. *

*/ private java.util.List userParameters; /** *

* A timestamp of when this blueprint was created. *

* * @param createdAt * A timestamp of when this blueprint was created. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** *

* A timestamp of when this blueprint was created. *

* * @return A timestamp of when this blueprint was created. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** *

* A timestamp of when this blueprint was created. *

* * @param createdAt * A timestamp of when this blueprint was created. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEnvironmentBlueprintResult withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** *

* The deployment properties of this Amazon DataZone blueprint. *

* * @param deploymentProperties * The deployment properties of this Amazon DataZone blueprint. */ public void setDeploymentProperties(DeploymentProperties deploymentProperties) { this.deploymentProperties = deploymentProperties; } /** *

* The deployment properties of this Amazon DataZone blueprint. *

* * @return The deployment properties of this Amazon DataZone blueprint. */ public DeploymentProperties getDeploymentProperties() { return this.deploymentProperties; } /** *

* The deployment properties of this Amazon DataZone blueprint. *

* * @param deploymentProperties * The deployment properties of this Amazon DataZone blueprint. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEnvironmentBlueprintResult withDeploymentProperties(DeploymentProperties deploymentProperties) { setDeploymentProperties(deploymentProperties); return this; } /** *

* The description of this Amazon DataZone blueprint. *

* * @param description * The description of this Amazon DataZone blueprint. */ public void setDescription(String description) { this.description = description; } /** *

* The description of this Amazon DataZone blueprint. *

* * @return The description of this Amazon DataZone blueprint. */ public String getDescription() { return this.description; } /** *

* The description of this Amazon DataZone blueprint. *

* * @param description * The description of this Amazon DataZone blueprint. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEnvironmentBlueprintResult withDescription(String description) { setDescription(description); return this; } /** *

* The glossary terms attached to this Amazon DataZone blueprint. *

* * @return The glossary terms attached to this Amazon DataZone blueprint. */ public java.util.List getGlossaryTerms() { return glossaryTerms; } /** *

* The glossary terms attached to this Amazon DataZone blueprint. *

* * @param glossaryTerms * The glossary terms attached to this Amazon DataZone blueprint. */ public void setGlossaryTerms(java.util.Collection glossaryTerms) { if (glossaryTerms == null) { this.glossaryTerms = null; return; } this.glossaryTerms = new java.util.ArrayList(glossaryTerms); } /** *

* The glossary terms attached to this Amazon DataZone blueprint. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setGlossaryTerms(java.util.Collection)} or {@link #withGlossaryTerms(java.util.Collection)} if you want * to override the existing values. *

* * @param glossaryTerms * The glossary terms attached to this Amazon DataZone blueprint. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEnvironmentBlueprintResult withGlossaryTerms(String... glossaryTerms) { if (this.glossaryTerms == null) { setGlossaryTerms(new java.util.ArrayList(glossaryTerms.length)); } for (String ele : glossaryTerms) { this.glossaryTerms.add(ele); } return this; } /** *

* The glossary terms attached to this Amazon DataZone blueprint. *

* * @param glossaryTerms * The glossary terms attached to this Amazon DataZone blueprint. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEnvironmentBlueprintResult withGlossaryTerms(java.util.Collection glossaryTerms) { setGlossaryTerms(glossaryTerms); return this; } /** *

* The ID of this Amazon DataZone blueprint. *

* * @param id * The ID of this Amazon DataZone blueprint. */ public void setId(String id) { this.id = id; } /** *

* The ID of this Amazon DataZone blueprint. *

* * @return The ID of this Amazon DataZone blueprint. */ public String getId() { return this.id; } /** *

* The ID of this Amazon DataZone blueprint. *

* * @param id * The ID of this Amazon DataZone blueprint. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEnvironmentBlueprintResult withId(String id) { setId(id); return this; } /** *

* The name of this Amazon DataZone blueprint. *

* * @param name * The name of this Amazon DataZone blueprint. */ public void setName(String name) { this.name = name; } /** *

* The name of this Amazon DataZone blueprint. *

* * @return The name of this Amazon DataZone blueprint. */ public String getName() { return this.name; } /** *

* The name of this Amazon DataZone blueprint. *

* * @param name * The name of this Amazon DataZone blueprint. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEnvironmentBlueprintResult withName(String name) { setName(name); return this; } /** *

* The provider of this Amazon DataZone blueprint. *

* * @param provider * The provider of this Amazon DataZone blueprint. */ public void setProvider(String provider) { this.provider = provider; } /** *

* The provider of this Amazon DataZone blueprint. *

* * @return The provider of this Amazon DataZone blueprint. */ public String getProvider() { return this.provider; } /** *

* The provider of this Amazon DataZone blueprint. *

* * @param provider * The provider of this Amazon DataZone blueprint. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEnvironmentBlueprintResult withProvider(String provider) { setProvider(provider); return this; } /** *

* The provisioning properties of this Amazon DataZone blueprint. *

* * @param provisioningProperties * The provisioning properties of this Amazon DataZone blueprint. */ public void setProvisioningProperties(ProvisioningProperties provisioningProperties) { this.provisioningProperties = provisioningProperties; } /** *

* The provisioning properties of this Amazon DataZone blueprint. *

* * @return The provisioning properties of this Amazon DataZone blueprint. */ public ProvisioningProperties getProvisioningProperties() { return this.provisioningProperties; } /** *

* The provisioning properties of this Amazon DataZone blueprint. *

* * @param provisioningProperties * The provisioning properties of this Amazon DataZone blueprint. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEnvironmentBlueprintResult withProvisioningProperties(ProvisioningProperties provisioningProperties) { setProvisioningProperties(provisioningProperties); return this; } /** *

* The timestamp of when this blueprint was updated. *

* * @param updatedAt * The timestamp of when this blueprint was updated. */ public void setUpdatedAt(java.util.Date updatedAt) { this.updatedAt = updatedAt; } /** *

* The timestamp of when this blueprint was updated. *

* * @return The timestamp of when this blueprint was updated. */ public java.util.Date getUpdatedAt() { return this.updatedAt; } /** *

* The timestamp of when this blueprint was updated. *

* * @param updatedAt * The timestamp of when this blueprint was updated. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEnvironmentBlueprintResult withUpdatedAt(java.util.Date updatedAt) { setUpdatedAt(updatedAt); return this; } /** *

* The user parameters of this blueprint. *

* * @return The user parameters of this blueprint. */ public java.util.List getUserParameters() { return userParameters; } /** *

* The user parameters of this blueprint. *

* * @param userParameters * The user parameters of this blueprint. */ public void setUserParameters(java.util.Collection userParameters) { if (userParameters == null) { this.userParameters = null; return; } this.userParameters = new java.util.ArrayList(userParameters); } /** *

* The user parameters of this blueprint. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setUserParameters(java.util.Collection)} or {@link #withUserParameters(java.util.Collection)} if you want * to override the existing values. *

* * @param userParameters * The user parameters of this blueprint. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEnvironmentBlueprintResult withUserParameters(CustomParameter... userParameters) { if (this.userParameters == null) { setUserParameters(new java.util.ArrayList(userParameters.length)); } for (CustomParameter ele : userParameters) { this.userParameters.add(ele); } return this; } /** *

* The user parameters of this blueprint. *

* * @param userParameters * The user parameters of this blueprint. * @return Returns a reference to this object so that method calls can be chained together. */ public GetEnvironmentBlueprintResult withUserParameters(java.util.Collection userParameters) { setUserParameters(userParameters); 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 (getCreatedAt() != null) sb.append("CreatedAt: ").append(getCreatedAt()).append(","); if (getDeploymentProperties() != null) sb.append("DeploymentProperties: ").append(getDeploymentProperties()).append(","); if (getDescription() != null) sb.append("Description: ").append("***Sensitive Data Redacted***").append(","); if (getGlossaryTerms() != null) sb.append("GlossaryTerms: ").append(getGlossaryTerms()).append(","); if (getId() != null) sb.append("Id: ").append(getId()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getProvider() != null) sb.append("Provider: ").append(getProvider()).append(","); if (getProvisioningProperties() != null) sb.append("ProvisioningProperties: ").append(getProvisioningProperties()).append(","); if (getUpdatedAt() != null) sb.append("UpdatedAt: ").append(getUpdatedAt()).append(","); if (getUserParameters() != null) sb.append("UserParameters: ").append(getUserParameters()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetEnvironmentBlueprintResult == false) return false; GetEnvironmentBlueprintResult other = (GetEnvironmentBlueprintResult) obj; if (other.getCreatedAt() == null ^ this.getCreatedAt() == null) return false; if (other.getCreatedAt() != null && other.getCreatedAt().equals(this.getCreatedAt()) == false) return false; if (other.getDeploymentProperties() == null ^ this.getDeploymentProperties() == null) return false; if (other.getDeploymentProperties() != null && other.getDeploymentProperties().equals(this.getDeploymentProperties()) == 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.getGlossaryTerms() == null ^ this.getGlossaryTerms() == null) return false; if (other.getGlossaryTerms() != null && other.getGlossaryTerms().equals(this.getGlossaryTerms()) == false) return false; if (other.getId() == null ^ this.getId() == null) return false; if (other.getId() != null && other.getId().equals(this.getId()) == 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.getProvider() == null ^ this.getProvider() == null) return false; if (other.getProvider() != null && other.getProvider().equals(this.getProvider()) == false) return false; if (other.getProvisioningProperties() == null ^ this.getProvisioningProperties() == null) return false; if (other.getProvisioningProperties() != null && other.getProvisioningProperties().equals(this.getProvisioningProperties()) == false) return false; if (other.getUpdatedAt() == null ^ this.getUpdatedAt() == null) return false; if (other.getUpdatedAt() != null && other.getUpdatedAt().equals(this.getUpdatedAt()) == false) return false; if (other.getUserParameters() == null ^ this.getUserParameters() == null) return false; if (other.getUserParameters() != null && other.getUserParameters().equals(this.getUserParameters()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCreatedAt() == null) ? 0 : getCreatedAt().hashCode()); hashCode = prime * hashCode + ((getDeploymentProperties() == null) ? 0 : getDeploymentProperties().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getGlossaryTerms() == null) ? 0 : getGlossaryTerms().hashCode()); hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getProvider() == null) ? 0 : getProvider().hashCode()); hashCode = prime * hashCode + ((getProvisioningProperties() == null) ? 0 : getProvisioningProperties().hashCode()); hashCode = prime * hashCode + ((getUpdatedAt() == null) ? 0 : getUpdatedAt().hashCode()); hashCode = prime * hashCode + ((getUserParameters() == null) ? 0 : getUserParameters().hashCode()); return hashCode; } @Override public GetEnvironmentBlueprintResult clone() { try { return (GetEnvironmentBlueprintResult) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy