/* * 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.elasticbeanstalk.model; import java.io.Serializable; import javax.annotation.Generated; /** *
* Describes the settings for a configuration set. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateConfigurationTemplateResult extends com.amazonaws.AmazonWebServiceResult* The name of the solution stack this configuration set uses. *
*/ private String solutionStackName; /** ** The ARN of the platform version. *
*/ private String platformArn; /** ** The name of the application associated with this configuration set. *
*/ private String applicationName; /** *
* If not null
, the name of the configuration template for this configuration set.
*
* Describes this configuration set. *
*/ private String description; /** *
* If not null
, the name of the environment for this configuration set.
*
* If this configuration set is associated with an environment, the DeploymentStatus
parameter
* indicates the deployment status of this configuration set:
*
* null
: This configuration is not associated with a running environment.
*
* pending
: This is a draft configuration that is not deployed to the associated environment but is in
* the process of deploying.
*
* deployed
: This is the configuration that is currently deployed to the associated running
* environment.
*
* failed
: This is a draft configuration that failed to successfully deploy.
*
* The date (in UTC time) when this configuration set was created. *
*/ private java.util.Date dateCreated; /** ** The date (in UTC time) when this configuration set was last modified. *
*/ private java.util.Date dateUpdated; /** ** A list of the configuration options and their values in this configuration set. *
*/ private com.amazonaws.internal.SdkInternalList* The name of the solution stack this configuration set uses. *
* * @param solutionStackName * The name of the solution stack this configuration set uses. */ public void setSolutionStackName(String solutionStackName) { this.solutionStackName = solutionStackName; } /** ** The name of the solution stack this configuration set uses. *
* * @return The name of the solution stack this configuration set uses. */ public String getSolutionStackName() { return this.solutionStackName; } /** ** The name of the solution stack this configuration set uses. *
* * @param solutionStackName * The name of the solution stack this configuration set uses. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateConfigurationTemplateResult withSolutionStackName(String solutionStackName) { setSolutionStackName(solutionStackName); return this; } /** ** The ARN of the platform version. *
* * @param platformArn * The ARN of the platform version. */ public void setPlatformArn(String platformArn) { this.platformArn = platformArn; } /** ** The ARN of the platform version. *
* * @return The ARN of the platform version. */ public String getPlatformArn() { return this.platformArn; } /** ** The ARN of the platform version. *
* * @param platformArn * The ARN of the platform version. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateConfigurationTemplateResult withPlatformArn(String platformArn) { setPlatformArn(platformArn); return this; } /** ** The name of the application associated with this configuration set. *
* * @param applicationName * The name of the application associated with this configuration set. */ public void setApplicationName(String applicationName) { this.applicationName = applicationName; } /** ** The name of the application associated with this configuration set. *
* * @return The name of the application associated with this configuration set. */ public String getApplicationName() { return this.applicationName; } /** ** The name of the application associated with this configuration set. *
* * @param applicationName * The name of the application associated with this configuration set. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateConfigurationTemplateResult withApplicationName(String applicationName) { setApplicationName(applicationName); return this; } /** *
* If not null
, the name of the configuration template for this configuration set.
*
null
, the name of the configuration template for this configuration set.
*/
public void setTemplateName(String templateName) {
this.templateName = templateName;
}
/**
*
* If not null
, the name of the configuration template for this configuration set.
*
null
, the name of the configuration template for this configuration set.
*/
public String getTemplateName() {
return this.templateName;
}
/**
*
* If not null
, the name of the configuration template for this configuration set.
*
null
, the name of the configuration template for this configuration set.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateConfigurationTemplateResult withTemplateName(String templateName) {
setTemplateName(templateName);
return this;
}
/**
* * Describes this configuration set. *
* * @param description * Describes this configuration set. */ public void setDescription(String description) { this.description = description; } /** ** Describes this configuration set. *
* * @return Describes this configuration set. */ public String getDescription() { return this.description; } /** ** Describes this configuration set. *
* * @param description * Describes this configuration set. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateConfigurationTemplateResult withDescription(String description) { setDescription(description); return this; } /** *
* If not null
, the name of the environment for this configuration set.
*
null
, the name of the environment for this configuration set.
*/
public void setEnvironmentName(String environmentName) {
this.environmentName = environmentName;
}
/**
*
* If not null
, the name of the environment for this configuration set.
*
null
, the name of the environment for this configuration set.
*/
public String getEnvironmentName() {
return this.environmentName;
}
/**
*
* If not null
, the name of the environment for this configuration set.
*
null
, the name of the environment for this configuration set.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateConfigurationTemplateResult withEnvironmentName(String environmentName) {
setEnvironmentName(environmentName);
return this;
}
/**
*
* If this configuration set is associated with an environment, the DeploymentStatus
parameter
* indicates the deployment status of this configuration set:
*
* null
: This configuration is not associated with a running environment.
*
* pending
: This is a draft configuration that is not deployed to the associated environment but is in
* the process of deploying.
*
* deployed
: This is the configuration that is currently deployed to the associated running
* environment.
*
* failed
: This is a draft configuration that failed to successfully deploy.
*
DeploymentStatus
parameter
* indicates the deployment status of this configuration set:
*
* null
: This configuration is not associated with a running environment.
*
* pending
: This is a draft configuration that is not deployed to the associated environment but
* is in the process of deploying.
*
* deployed
: This is the configuration that is currently deployed to the associated running
* environment.
*
* failed
: This is a draft configuration that failed to successfully deploy.
*
* If this configuration set is associated with an environment, the DeploymentStatus
parameter
* indicates the deployment status of this configuration set:
*
* null
: This configuration is not associated with a running environment.
*
* pending
: This is a draft configuration that is not deployed to the associated environment but is in
* the process of deploying.
*
* deployed
: This is the configuration that is currently deployed to the associated running
* environment.
*
* failed
: This is a draft configuration that failed to successfully deploy.
*
DeploymentStatus
parameter
* indicates the deployment status of this configuration set:
*
* null
: This configuration is not associated with a running environment.
*
* pending
: This is a draft configuration that is not deployed to the associated environment
* but is in the process of deploying.
*
* deployed
: This is the configuration that is currently deployed to the associated running
* environment.
*
* failed
: This is a draft configuration that failed to successfully deploy.
*
* If this configuration set is associated with an environment, the DeploymentStatus
parameter
* indicates the deployment status of this configuration set:
*
* null
: This configuration is not associated with a running environment.
*
* pending
: This is a draft configuration that is not deployed to the associated environment but is in
* the process of deploying.
*
* deployed
: This is the configuration that is currently deployed to the associated running
* environment.
*
* failed
: This is a draft configuration that failed to successfully deploy.
*
DeploymentStatus
parameter
* indicates the deployment status of this configuration set:
*
* null
: This configuration is not associated with a running environment.
*
* pending
: This is a draft configuration that is not deployed to the associated environment but
* is in the process of deploying.
*
* deployed
: This is the configuration that is currently deployed to the associated running
* environment.
*
* failed
: This is a draft configuration that failed to successfully deploy.
*
* If this configuration set is associated with an environment, the DeploymentStatus
parameter
* indicates the deployment status of this configuration set:
*
* null
: This configuration is not associated with a running environment.
*
* pending
: This is a draft configuration that is not deployed to the associated environment but is in
* the process of deploying.
*
* deployed
: This is the configuration that is currently deployed to the associated running
* environment.
*
* failed
: This is a draft configuration that failed to successfully deploy.
*
DeploymentStatus
parameter
* indicates the deployment status of this configuration set:
*
* null
: This configuration is not associated with a running environment.
*
* pending
: This is a draft configuration that is not deployed to the associated environment but
* is in the process of deploying.
*
* deployed
: This is the configuration that is currently deployed to the associated running
* environment.
*
* failed
: This is a draft configuration that failed to successfully deploy.
*
* If this configuration set is associated with an environment, the DeploymentStatus
parameter
* indicates the deployment status of this configuration set:
*
* null
: This configuration is not associated with a running environment.
*
* pending
: This is a draft configuration that is not deployed to the associated environment but is in
* the process of deploying.
*
* deployed
: This is the configuration that is currently deployed to the associated running
* environment.
*
* failed
: This is a draft configuration that failed to successfully deploy.
*
DeploymentStatus
parameter
* indicates the deployment status of this configuration set:
*
* null
: This configuration is not associated with a running environment.
*
* pending
: This is a draft configuration that is not deployed to the associated environment but
* is in the process of deploying.
*
* deployed
: This is the configuration that is currently deployed to the associated running
* environment.
*
* failed
: This is a draft configuration that failed to successfully deploy.
*
* The date (in UTC time) when this configuration set was created. *
* * @param dateCreated * The date (in UTC time) when this configuration set was created. */ public void setDateCreated(java.util.Date dateCreated) { this.dateCreated = dateCreated; } /** ** The date (in UTC time) when this configuration set was created. *
* * @return The date (in UTC time) when this configuration set was created. */ public java.util.Date getDateCreated() { return this.dateCreated; } /** ** The date (in UTC time) when this configuration set was created. *
* * @param dateCreated * The date (in UTC time) when this configuration set was created. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateConfigurationTemplateResult withDateCreated(java.util.Date dateCreated) { setDateCreated(dateCreated); return this; } /** ** The date (in UTC time) when this configuration set was last modified. *
* * @param dateUpdated * The date (in UTC time) when this configuration set was last modified. */ public void setDateUpdated(java.util.Date dateUpdated) { this.dateUpdated = dateUpdated; } /** ** The date (in UTC time) when this configuration set was last modified. *
* * @return The date (in UTC time) when this configuration set was last modified. */ public java.util.Date getDateUpdated() { return this.dateUpdated; } /** ** The date (in UTC time) when this configuration set was last modified. *
* * @param dateUpdated * The date (in UTC time) when this configuration set was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateConfigurationTemplateResult withDateUpdated(java.util.Date dateUpdated) { setDateUpdated(dateUpdated); return this; } /** ** A list of the configuration options and their values in this configuration set. *
* * @return A list of the configuration options and their values in this configuration set. */ public java.util.List* A list of the configuration options and their values in this configuration set. *
* * @param optionSettings * A list of the configuration options and their values in this configuration set. */ public void setOptionSettings(java.util.Collection* A list of the configuration options and their values in this configuration set. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setOptionSettings(java.util.Collection)} or {@link #withOptionSettings(java.util.Collection)} if you want * to override the existing values. *
* * @param optionSettings * A list of the configuration options and their values in this configuration set. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateConfigurationTemplateResult withOptionSettings(ConfigurationOptionSetting... optionSettings) { if (this.optionSettings == null) { setOptionSettings(new com.amazonaws.internal.SdkInternalList* A list of the configuration options and their values in this configuration set. *
* * @param optionSettings * A list of the configuration options and their values in this configuration set. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateConfigurationTemplateResult withOptionSettings(java.util.Collection