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

com.amazonaws.services.servicecatalog.model.DescribeProvisioningParametersResult Maven / Gradle / Ivy

Go to download

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

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.servicecatalog.model;

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

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

    /**
     * 

* Information about the parameters used to provision the product. *

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

* Information about the constraints used to provision the product. *

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

* Any additional metadata specifically related to the provisioning of the product. For example, see the * Version field of the CloudFormation template. *

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

* Information about the TagOptions associated with the resource. *

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

* An object that contains information about preferences, such as Regions and accounts, for the provisioning * artifact. *

*/ private ProvisioningArtifactPreferences provisioningArtifactPreferences; /** *

* The output of the provisioning artifact. *

*/ @Deprecated private java.util.List provisioningArtifactOutputs; /** *

* A list of the keys and descriptions of the outputs. These outputs can be referenced from a provisioned product * launched from this provisioning artifact. *

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

* Information about the parameters used to provision the product. *

* * @return Information about the parameters used to provision the product. */ public java.util.List getProvisioningArtifactParameters() { return provisioningArtifactParameters; } /** *

* Information about the parameters used to provision the product. *

* * @param provisioningArtifactParameters * Information about the parameters used to provision the product. */ public void setProvisioningArtifactParameters(java.util.Collection provisioningArtifactParameters) { if (provisioningArtifactParameters == null) { this.provisioningArtifactParameters = null; return; } this.provisioningArtifactParameters = new java.util.ArrayList(provisioningArtifactParameters); } /** *

* Information about the parameters used to provision the product. *

*

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

* * @param provisioningArtifactParameters * Information about the parameters used to provision the product. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeProvisioningParametersResult withProvisioningArtifactParameters(ProvisioningArtifactParameter... provisioningArtifactParameters) { if (this.provisioningArtifactParameters == null) { setProvisioningArtifactParameters(new java.util.ArrayList(provisioningArtifactParameters.length)); } for (ProvisioningArtifactParameter ele : provisioningArtifactParameters) { this.provisioningArtifactParameters.add(ele); } return this; } /** *

* Information about the parameters used to provision the product. *

* * @param provisioningArtifactParameters * Information about the parameters used to provision the product. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeProvisioningParametersResult withProvisioningArtifactParameters( java.util.Collection provisioningArtifactParameters) { setProvisioningArtifactParameters(provisioningArtifactParameters); return this; } /** *

* Information about the constraints used to provision the product. *

* * @return Information about the constraints used to provision the product. */ public java.util.List getConstraintSummaries() { return constraintSummaries; } /** *

* Information about the constraints used to provision the product. *

* * @param constraintSummaries * Information about the constraints used to provision the product. */ public void setConstraintSummaries(java.util.Collection constraintSummaries) { if (constraintSummaries == null) { this.constraintSummaries = null; return; } this.constraintSummaries = new java.util.ArrayList(constraintSummaries); } /** *

* Information about the constraints used to provision the product. *

*

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

* * @param constraintSummaries * Information about the constraints used to provision the product. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeProvisioningParametersResult withConstraintSummaries(ConstraintSummary... constraintSummaries) { if (this.constraintSummaries == null) { setConstraintSummaries(new java.util.ArrayList(constraintSummaries.length)); } for (ConstraintSummary ele : constraintSummaries) { this.constraintSummaries.add(ele); } return this; } /** *

* Information about the constraints used to provision the product. *

* * @param constraintSummaries * Information about the constraints used to provision the product. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeProvisioningParametersResult withConstraintSummaries(java.util.Collection constraintSummaries) { setConstraintSummaries(constraintSummaries); return this; } /** *

* Any additional metadata specifically related to the provisioning of the product. For example, see the * Version field of the CloudFormation template. *

* * @return Any additional metadata specifically related to the provisioning of the product. For example, see the * Version field of the CloudFormation template. */ public java.util.List getUsageInstructions() { return usageInstructions; } /** *

* Any additional metadata specifically related to the provisioning of the product. For example, see the * Version field of the CloudFormation template. *

* * @param usageInstructions * Any additional metadata specifically related to the provisioning of the product. For example, see the * Version field of the CloudFormation template. */ public void setUsageInstructions(java.util.Collection usageInstructions) { if (usageInstructions == null) { this.usageInstructions = null; return; } this.usageInstructions = new java.util.ArrayList(usageInstructions); } /** *

* Any additional metadata specifically related to the provisioning of the product. For example, see the * Version field of the CloudFormation template. *

*

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

* * @param usageInstructions * Any additional metadata specifically related to the provisioning of the product. For example, see the * Version field of the CloudFormation template. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeProvisioningParametersResult withUsageInstructions(UsageInstruction... usageInstructions) { if (this.usageInstructions == null) { setUsageInstructions(new java.util.ArrayList(usageInstructions.length)); } for (UsageInstruction ele : usageInstructions) { this.usageInstructions.add(ele); } return this; } /** *

* Any additional metadata specifically related to the provisioning of the product. For example, see the * Version field of the CloudFormation template. *

* * @param usageInstructions * Any additional metadata specifically related to the provisioning of the product. For example, see the * Version field of the CloudFormation template. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeProvisioningParametersResult withUsageInstructions(java.util.Collection usageInstructions) { setUsageInstructions(usageInstructions); return this; } /** *

* Information about the TagOptions associated with the resource. *

* * @return Information about the TagOptions associated with the resource. */ public java.util.List getTagOptions() { return tagOptions; } /** *

* Information about the TagOptions associated with the resource. *

* * @param tagOptions * Information about the TagOptions associated with the resource. */ public void setTagOptions(java.util.Collection tagOptions) { if (tagOptions == null) { this.tagOptions = null; return; } this.tagOptions = new java.util.ArrayList(tagOptions); } /** *

* Information about the TagOptions associated with the resource. *

*

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

* * @param tagOptions * Information about the TagOptions associated with the resource. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeProvisioningParametersResult withTagOptions(TagOptionSummary... tagOptions) { if (this.tagOptions == null) { setTagOptions(new java.util.ArrayList(tagOptions.length)); } for (TagOptionSummary ele : tagOptions) { this.tagOptions.add(ele); } return this; } /** *

* Information about the TagOptions associated with the resource. *

* * @param tagOptions * Information about the TagOptions associated with the resource. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeProvisioningParametersResult withTagOptions(java.util.Collection tagOptions) { setTagOptions(tagOptions); return this; } /** *

* An object that contains information about preferences, such as Regions and accounts, for the provisioning * artifact. *

* * @param provisioningArtifactPreferences * An object that contains information about preferences, such as Regions and accounts, for the provisioning * artifact. */ public void setProvisioningArtifactPreferences(ProvisioningArtifactPreferences provisioningArtifactPreferences) { this.provisioningArtifactPreferences = provisioningArtifactPreferences; } /** *

* An object that contains information about preferences, such as Regions and accounts, for the provisioning * artifact. *

* * @return An object that contains information about preferences, such as Regions and accounts, for the provisioning * artifact. */ public ProvisioningArtifactPreferences getProvisioningArtifactPreferences() { return this.provisioningArtifactPreferences; } /** *

* An object that contains information about preferences, such as Regions and accounts, for the provisioning * artifact. *

* * @param provisioningArtifactPreferences * An object that contains information about preferences, such as Regions and accounts, for the provisioning * artifact. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeProvisioningParametersResult withProvisioningArtifactPreferences(ProvisioningArtifactPreferences provisioningArtifactPreferences) { setProvisioningArtifactPreferences(provisioningArtifactPreferences); return this; } /** *

* The output of the provisioning artifact. *

* * @return The output of the provisioning artifact. */ @Deprecated public java.util.List getProvisioningArtifactOutputs() { return provisioningArtifactOutputs; } /** *

* The output of the provisioning artifact. *

* * @param provisioningArtifactOutputs * The output of the provisioning artifact. */ @Deprecated public void setProvisioningArtifactOutputs(java.util.Collection provisioningArtifactOutputs) { if (provisioningArtifactOutputs == null) { this.provisioningArtifactOutputs = null; return; } this.provisioningArtifactOutputs = new java.util.ArrayList(provisioningArtifactOutputs); } /** *

* The output of the provisioning artifact. *

*

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

* * @param provisioningArtifactOutputs * The output of the provisioning artifact. * @return Returns a reference to this object so that method calls can be chained together. */ @Deprecated public DescribeProvisioningParametersResult withProvisioningArtifactOutputs(ProvisioningArtifactOutput... provisioningArtifactOutputs) { if (this.provisioningArtifactOutputs == null) { setProvisioningArtifactOutputs(new java.util.ArrayList(provisioningArtifactOutputs.length)); } for (ProvisioningArtifactOutput ele : provisioningArtifactOutputs) { this.provisioningArtifactOutputs.add(ele); } return this; } /** *

* The output of the provisioning artifact. *

* * @param provisioningArtifactOutputs * The output of the provisioning artifact. * @return Returns a reference to this object so that method calls can be chained together. */ @Deprecated public DescribeProvisioningParametersResult withProvisioningArtifactOutputs(java.util.Collection provisioningArtifactOutputs) { setProvisioningArtifactOutputs(provisioningArtifactOutputs); return this; } /** *

* A list of the keys and descriptions of the outputs. These outputs can be referenced from a provisioned product * launched from this provisioning artifact. *

* * @return A list of the keys and descriptions of the outputs. These outputs can be referenced from a provisioned * product launched from this provisioning artifact. */ public java.util.List getProvisioningArtifactOutputKeys() { return provisioningArtifactOutputKeys; } /** *

* A list of the keys and descriptions of the outputs. These outputs can be referenced from a provisioned product * launched from this provisioning artifact. *

* * @param provisioningArtifactOutputKeys * A list of the keys and descriptions of the outputs. These outputs can be referenced from a provisioned * product launched from this provisioning artifact. */ public void setProvisioningArtifactOutputKeys(java.util.Collection provisioningArtifactOutputKeys) { if (provisioningArtifactOutputKeys == null) { this.provisioningArtifactOutputKeys = null; return; } this.provisioningArtifactOutputKeys = new java.util.ArrayList(provisioningArtifactOutputKeys); } /** *

* A list of the keys and descriptions of the outputs. These outputs can be referenced from a provisioned product * launched from this provisioning artifact. *

*

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

* * @param provisioningArtifactOutputKeys * A list of the keys and descriptions of the outputs. These outputs can be referenced from a provisioned * product launched from this provisioning artifact. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeProvisioningParametersResult withProvisioningArtifactOutputKeys(ProvisioningArtifactOutput... provisioningArtifactOutputKeys) { if (this.provisioningArtifactOutputKeys == null) { setProvisioningArtifactOutputKeys(new java.util.ArrayList(provisioningArtifactOutputKeys.length)); } for (ProvisioningArtifactOutput ele : provisioningArtifactOutputKeys) { this.provisioningArtifactOutputKeys.add(ele); } return this; } /** *

* A list of the keys and descriptions of the outputs. These outputs can be referenced from a provisioned product * launched from this provisioning artifact. *

* * @param provisioningArtifactOutputKeys * A list of the keys and descriptions of the outputs. These outputs can be referenced from a provisioned * product launched from this provisioning artifact. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeProvisioningParametersResult withProvisioningArtifactOutputKeys( java.util.Collection provisioningArtifactOutputKeys) { setProvisioningArtifactOutputKeys(provisioningArtifactOutputKeys); 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 (getProvisioningArtifactParameters() != null) sb.append("ProvisioningArtifactParameters: ").append(getProvisioningArtifactParameters()).append(","); if (getConstraintSummaries() != null) sb.append("ConstraintSummaries: ").append(getConstraintSummaries()).append(","); if (getUsageInstructions() != null) sb.append("UsageInstructions: ").append(getUsageInstructions()).append(","); if (getTagOptions() != null) sb.append("TagOptions: ").append(getTagOptions()).append(","); if (getProvisioningArtifactPreferences() != null) sb.append("ProvisioningArtifactPreferences: ").append(getProvisioningArtifactPreferences()).append(","); if (getProvisioningArtifactOutputs() != null) sb.append("ProvisioningArtifactOutputs: ").append(getProvisioningArtifactOutputs()).append(","); if (getProvisioningArtifactOutputKeys() != null) sb.append("ProvisioningArtifactOutputKeys: ").append(getProvisioningArtifactOutputKeys()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeProvisioningParametersResult == false) return false; DescribeProvisioningParametersResult other = (DescribeProvisioningParametersResult) obj; if (other.getProvisioningArtifactParameters() == null ^ this.getProvisioningArtifactParameters() == null) return false; if (other.getProvisioningArtifactParameters() != null && other.getProvisioningArtifactParameters().equals(this.getProvisioningArtifactParameters()) == false) return false; if (other.getConstraintSummaries() == null ^ this.getConstraintSummaries() == null) return false; if (other.getConstraintSummaries() != null && other.getConstraintSummaries().equals(this.getConstraintSummaries()) == false) return false; if (other.getUsageInstructions() == null ^ this.getUsageInstructions() == null) return false; if (other.getUsageInstructions() != null && other.getUsageInstructions().equals(this.getUsageInstructions()) == false) return false; if (other.getTagOptions() == null ^ this.getTagOptions() == null) return false; if (other.getTagOptions() != null && other.getTagOptions().equals(this.getTagOptions()) == false) return false; if (other.getProvisioningArtifactPreferences() == null ^ this.getProvisioningArtifactPreferences() == null) return false; if (other.getProvisioningArtifactPreferences() != null && other.getProvisioningArtifactPreferences().equals(this.getProvisioningArtifactPreferences()) == false) return false; if (other.getProvisioningArtifactOutputs() == null ^ this.getProvisioningArtifactOutputs() == null) return false; if (other.getProvisioningArtifactOutputs() != null && other.getProvisioningArtifactOutputs().equals(this.getProvisioningArtifactOutputs()) == false) return false; if (other.getProvisioningArtifactOutputKeys() == null ^ this.getProvisioningArtifactOutputKeys() == null) return false; if (other.getProvisioningArtifactOutputKeys() != null && other.getProvisioningArtifactOutputKeys().equals(this.getProvisioningArtifactOutputKeys()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getProvisioningArtifactParameters() == null) ? 0 : getProvisioningArtifactParameters().hashCode()); hashCode = prime * hashCode + ((getConstraintSummaries() == null) ? 0 : getConstraintSummaries().hashCode()); hashCode = prime * hashCode + ((getUsageInstructions() == null) ? 0 : getUsageInstructions().hashCode()); hashCode = prime * hashCode + ((getTagOptions() == null) ? 0 : getTagOptions().hashCode()); hashCode = prime * hashCode + ((getProvisioningArtifactPreferences() == null) ? 0 : getProvisioningArtifactPreferences().hashCode()); hashCode = prime * hashCode + ((getProvisioningArtifactOutputs() == null) ? 0 : getProvisioningArtifactOutputs().hashCode()); hashCode = prime * hashCode + ((getProvisioningArtifactOutputKeys() == null) ? 0 : getProvisioningArtifactOutputKeys().hashCode()); return hashCode; } @Override public DescribeProvisioningParametersResult clone() { try { return (DescribeProvisioningParametersResult) 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