com.amazonaws.services.elasticbeanstalk.model.PlatformDescription Maven / Gradle / Ivy
Show all versions of aws-java-sdk-elasticbeanstalk Show documentation
/*
* 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.elasticbeanstalk.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* Detailed information about a platform version.
*
*
* @see AWS API Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class PlatformDescription implements Serializable, Cloneable {
/**
*
* The ARN of the platform version.
*
*/
private String platformArn;
/**
*
* The AWS account ID of the person who created the platform version.
*
*/
private String platformOwner;
/**
*
* The name of the platform version.
*
*/
private String platformName;
/**
*
* The version of the platform version.
*
*/
private String platformVersion;
/**
*
* The name of the solution stack used by the platform version.
*
*/
private String solutionStackName;
/**
*
* The status of the platform version.
*
*/
private String platformStatus;
/**
*
* The date when the platform version was created.
*
*/
private java.util.Date dateCreated;
/**
*
* The date when the platform version was last updated.
*
*/
private java.util.Date dateUpdated;
/**
*
* The category of the platform version.
*
*/
private String platformCategory;
/**
*
* The description of the platform version.
*
*/
private String description;
/**
*
* Information about the maintainer of the platform version.
*
*/
private String maintainer;
/**
*
* The operating system used by the platform version.
*
*/
private String operatingSystemName;
/**
*
* The version of the operating system used by the platform version.
*
*/
private String operatingSystemVersion;
/**
*
* The programming languages supported by the platform version.
*
*/
private com.amazonaws.internal.SdkInternalList programmingLanguages;
/**
*
* The frameworks supported by the platform version.
*
*/
private com.amazonaws.internal.SdkInternalList frameworks;
/**
*
* The custom AMIs supported by the platform version.
*
*/
private com.amazonaws.internal.SdkInternalList customAmiList;
/**
*
* The tiers supported by the platform version.
*
*/
private com.amazonaws.internal.SdkInternalList supportedTierList;
/**
*
* The additions supported by the platform version.
*
*/
private com.amazonaws.internal.SdkInternalList supportedAddonList;
/**
*
* The state of the platform version in its lifecycle.
*
*
* Possible values: Recommended
| null
*
*
* If a null value is returned, the platform version isn't the recommended one for its branch. Each platform branch
* has a single recommended platform version, typically the most recent one.
*
*/
private String platformLifecycleState;
/**
*
* The platform branch to which the platform version belongs.
*
*/
private String platformBranchName;
/**
*
* The state of the platform version's branch in its lifecycle.
*
*
* Possible values: Beta
| Supported
| Deprecated
| Retired
*
*/
private String platformBranchLifecycleState;
/**
*
* 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 PlatformDescription withPlatformArn(String platformArn) {
setPlatformArn(platformArn);
return this;
}
/**
*
* The AWS account ID of the person who created the platform version.
*
*
* @param platformOwner
* The AWS account ID of the person who created the platform version.
*/
public void setPlatformOwner(String platformOwner) {
this.platformOwner = platformOwner;
}
/**
*
* The AWS account ID of the person who created the platform version.
*
*
* @return The AWS account ID of the person who created the platform version.
*/
public String getPlatformOwner() {
return this.platformOwner;
}
/**
*
* The AWS account ID of the person who created the platform version.
*
*
* @param platformOwner
* The AWS account ID of the person who created the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withPlatformOwner(String platformOwner) {
setPlatformOwner(platformOwner);
return this;
}
/**
*
* The name of the platform version.
*
*
* @param platformName
* The name of the platform version.
*/
public void setPlatformName(String platformName) {
this.platformName = platformName;
}
/**
*
* The name of the platform version.
*
*
* @return The name of the platform version.
*/
public String getPlatformName() {
return this.platformName;
}
/**
*
* The name of the platform version.
*
*
* @param platformName
* The name of the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withPlatformName(String platformName) {
setPlatformName(platformName);
return this;
}
/**
*
* The version of the platform version.
*
*
* @param platformVersion
* The version of the platform version.
*/
public void setPlatformVersion(String platformVersion) {
this.platformVersion = platformVersion;
}
/**
*
* The version of the platform version.
*
*
* @return The version of the platform version.
*/
public String getPlatformVersion() {
return this.platformVersion;
}
/**
*
* The version of the platform version.
*
*
* @param platformVersion
* The version of the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withPlatformVersion(String platformVersion) {
setPlatformVersion(platformVersion);
return this;
}
/**
*
* The name of the solution stack used by the platform version.
*
*
* @param solutionStackName
* The name of the solution stack used by the platform version.
*/
public void setSolutionStackName(String solutionStackName) {
this.solutionStackName = solutionStackName;
}
/**
*
* The name of the solution stack used by the platform version.
*
*
* @return The name of the solution stack used by the platform version.
*/
public String getSolutionStackName() {
return this.solutionStackName;
}
/**
*
* The name of the solution stack used by the platform version.
*
*
* @param solutionStackName
* The name of the solution stack used by the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withSolutionStackName(String solutionStackName) {
setSolutionStackName(solutionStackName);
return this;
}
/**
*
* The status of the platform version.
*
*
* @param platformStatus
* The status of the platform version.
* @see PlatformStatus
*/
public void setPlatformStatus(String platformStatus) {
this.platformStatus = platformStatus;
}
/**
*
* The status of the platform version.
*
*
* @return The status of the platform version.
* @see PlatformStatus
*/
public String getPlatformStatus() {
return this.platformStatus;
}
/**
*
* The status of the platform version.
*
*
* @param platformStatus
* The status of the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
* @see PlatformStatus
*/
public PlatformDescription withPlatformStatus(String platformStatus) {
setPlatformStatus(platformStatus);
return this;
}
/**
*
* The status of the platform version.
*
*
* @param platformStatus
* The status of the platform version.
* @see PlatformStatus
*/
public void setPlatformStatus(PlatformStatus platformStatus) {
withPlatformStatus(platformStatus);
}
/**
*
* The status of the platform version.
*
*
* @param platformStatus
* The status of the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
* @see PlatformStatus
*/
public PlatformDescription withPlatformStatus(PlatformStatus platformStatus) {
this.platformStatus = platformStatus.toString();
return this;
}
/**
*
* The date when the platform version was created.
*
*
* @param dateCreated
* The date when the platform version was created.
*/
public void setDateCreated(java.util.Date dateCreated) {
this.dateCreated = dateCreated;
}
/**
*
* The date when the platform version was created.
*
*
* @return The date when the platform version was created.
*/
public java.util.Date getDateCreated() {
return this.dateCreated;
}
/**
*
* The date when the platform version was created.
*
*
* @param dateCreated
* The date when the platform version was created.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withDateCreated(java.util.Date dateCreated) {
setDateCreated(dateCreated);
return this;
}
/**
*
* The date when the platform version was last updated.
*
*
* @param dateUpdated
* The date when the platform version was last updated.
*/
public void setDateUpdated(java.util.Date dateUpdated) {
this.dateUpdated = dateUpdated;
}
/**
*
* The date when the platform version was last updated.
*
*
* @return The date when the platform version was last updated.
*/
public java.util.Date getDateUpdated() {
return this.dateUpdated;
}
/**
*
* The date when the platform version was last updated.
*
*
* @param dateUpdated
* The date when the platform version was last updated.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withDateUpdated(java.util.Date dateUpdated) {
setDateUpdated(dateUpdated);
return this;
}
/**
*
* The category of the platform version.
*
*
* @param platformCategory
* The category of the platform version.
*/
public void setPlatformCategory(String platformCategory) {
this.platformCategory = platformCategory;
}
/**
*
* The category of the platform version.
*
*
* @return The category of the platform version.
*/
public String getPlatformCategory() {
return this.platformCategory;
}
/**
*
* The category of the platform version.
*
*
* @param platformCategory
* The category of the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withPlatformCategory(String platformCategory) {
setPlatformCategory(platformCategory);
return this;
}
/**
*
* The description of the platform version.
*
*
* @param description
* The description of the platform version.
*/
public void setDescription(String description) {
this.description = description;
}
/**
*
* The description of the platform version.
*
*
* @return The description of the platform version.
*/
public String getDescription() {
return this.description;
}
/**
*
* The description of the platform version.
*
*
* @param description
* The description of the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withDescription(String description) {
setDescription(description);
return this;
}
/**
*
* Information about the maintainer of the platform version.
*
*
* @param maintainer
* Information about the maintainer of the platform version.
*/
public void setMaintainer(String maintainer) {
this.maintainer = maintainer;
}
/**
*
* Information about the maintainer of the platform version.
*
*
* @return Information about the maintainer of the platform version.
*/
public String getMaintainer() {
return this.maintainer;
}
/**
*
* Information about the maintainer of the platform version.
*
*
* @param maintainer
* Information about the maintainer of the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withMaintainer(String maintainer) {
setMaintainer(maintainer);
return this;
}
/**
*
* The operating system used by the platform version.
*
*
* @param operatingSystemName
* The operating system used by the platform version.
*/
public void setOperatingSystemName(String operatingSystemName) {
this.operatingSystemName = operatingSystemName;
}
/**
*
* The operating system used by the platform version.
*
*
* @return The operating system used by the platform version.
*/
public String getOperatingSystemName() {
return this.operatingSystemName;
}
/**
*
* The operating system used by the platform version.
*
*
* @param operatingSystemName
* The operating system used by the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withOperatingSystemName(String operatingSystemName) {
setOperatingSystemName(operatingSystemName);
return this;
}
/**
*
* The version of the operating system used by the platform version.
*
*
* @param operatingSystemVersion
* The version of the operating system used by the platform version.
*/
public void setOperatingSystemVersion(String operatingSystemVersion) {
this.operatingSystemVersion = operatingSystemVersion;
}
/**
*
* The version of the operating system used by the platform version.
*
*
* @return The version of the operating system used by the platform version.
*/
public String getOperatingSystemVersion() {
return this.operatingSystemVersion;
}
/**
*
* The version of the operating system used by the platform version.
*
*
* @param operatingSystemVersion
* The version of the operating system used by the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withOperatingSystemVersion(String operatingSystemVersion) {
setOperatingSystemVersion(operatingSystemVersion);
return this;
}
/**
*
* The programming languages supported by the platform version.
*
*
* @return The programming languages supported by the platform version.
*/
public java.util.List getProgrammingLanguages() {
if (programmingLanguages == null) {
programmingLanguages = new com.amazonaws.internal.SdkInternalList();
}
return programmingLanguages;
}
/**
*
* The programming languages supported by the platform version.
*
*
* @param programmingLanguages
* The programming languages supported by the platform version.
*/
public void setProgrammingLanguages(java.util.Collection programmingLanguages) {
if (programmingLanguages == null) {
this.programmingLanguages = null;
return;
}
this.programmingLanguages = new com.amazonaws.internal.SdkInternalList(programmingLanguages);
}
/**
*
* The programming languages supported by the platform version.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setProgrammingLanguages(java.util.Collection)} or {@link #withProgrammingLanguages(java.util.Collection)}
* if you want to override the existing values.
*
*
* @param programmingLanguages
* The programming languages supported by the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withProgrammingLanguages(PlatformProgrammingLanguage... programmingLanguages) {
if (this.programmingLanguages == null) {
setProgrammingLanguages(new com.amazonaws.internal.SdkInternalList(programmingLanguages.length));
}
for (PlatformProgrammingLanguage ele : programmingLanguages) {
this.programmingLanguages.add(ele);
}
return this;
}
/**
*
* The programming languages supported by the platform version.
*
*
* @param programmingLanguages
* The programming languages supported by the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withProgrammingLanguages(java.util.Collection programmingLanguages) {
setProgrammingLanguages(programmingLanguages);
return this;
}
/**
*
* The frameworks supported by the platform version.
*
*
* @return The frameworks supported by the platform version.
*/
public java.util.List getFrameworks() {
if (frameworks == null) {
frameworks = new com.amazonaws.internal.SdkInternalList();
}
return frameworks;
}
/**
*
* The frameworks supported by the platform version.
*
*
* @param frameworks
* The frameworks supported by the platform version.
*/
public void setFrameworks(java.util.Collection frameworks) {
if (frameworks == null) {
this.frameworks = null;
return;
}
this.frameworks = new com.amazonaws.internal.SdkInternalList(frameworks);
}
/**
*
* The frameworks supported by the platform version.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setFrameworks(java.util.Collection)} or {@link #withFrameworks(java.util.Collection)} if you want to
* override the existing values.
*
*
* @param frameworks
* The frameworks supported by the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withFrameworks(PlatformFramework... frameworks) {
if (this.frameworks == null) {
setFrameworks(new com.amazonaws.internal.SdkInternalList(frameworks.length));
}
for (PlatformFramework ele : frameworks) {
this.frameworks.add(ele);
}
return this;
}
/**
*
* The frameworks supported by the platform version.
*
*
* @param frameworks
* The frameworks supported by the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withFrameworks(java.util.Collection frameworks) {
setFrameworks(frameworks);
return this;
}
/**
*
* The custom AMIs supported by the platform version.
*
*
* @return The custom AMIs supported by the platform version.
*/
public java.util.List getCustomAmiList() {
if (customAmiList == null) {
customAmiList = new com.amazonaws.internal.SdkInternalList();
}
return customAmiList;
}
/**
*
* The custom AMIs supported by the platform version.
*
*
* @param customAmiList
* The custom AMIs supported by the platform version.
*/
public void setCustomAmiList(java.util.Collection customAmiList) {
if (customAmiList == null) {
this.customAmiList = null;
return;
}
this.customAmiList = new com.amazonaws.internal.SdkInternalList(customAmiList);
}
/**
*
* The custom AMIs supported by the platform version.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setCustomAmiList(java.util.Collection)} or {@link #withCustomAmiList(java.util.Collection)} if you want
* to override the existing values.
*
*
* @param customAmiList
* The custom AMIs supported by the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withCustomAmiList(CustomAmi... customAmiList) {
if (this.customAmiList == null) {
setCustomAmiList(new com.amazonaws.internal.SdkInternalList(customAmiList.length));
}
for (CustomAmi ele : customAmiList) {
this.customAmiList.add(ele);
}
return this;
}
/**
*
* The custom AMIs supported by the platform version.
*
*
* @param customAmiList
* The custom AMIs supported by the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withCustomAmiList(java.util.Collection customAmiList) {
setCustomAmiList(customAmiList);
return this;
}
/**
*
* The tiers supported by the platform version.
*
*
* @return The tiers supported by the platform version.
*/
public java.util.List getSupportedTierList() {
if (supportedTierList == null) {
supportedTierList = new com.amazonaws.internal.SdkInternalList();
}
return supportedTierList;
}
/**
*
* The tiers supported by the platform version.
*
*
* @param supportedTierList
* The tiers supported by the platform version.
*/
public void setSupportedTierList(java.util.Collection supportedTierList) {
if (supportedTierList == null) {
this.supportedTierList = null;
return;
}
this.supportedTierList = new com.amazonaws.internal.SdkInternalList(supportedTierList);
}
/**
*
* The tiers supported by the platform version.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setSupportedTierList(java.util.Collection)} or {@link #withSupportedTierList(java.util.Collection)} if
* you want to override the existing values.
*
*
* @param supportedTierList
* The tiers supported by the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withSupportedTierList(String... supportedTierList) {
if (this.supportedTierList == null) {
setSupportedTierList(new com.amazonaws.internal.SdkInternalList(supportedTierList.length));
}
for (String ele : supportedTierList) {
this.supportedTierList.add(ele);
}
return this;
}
/**
*
* The tiers supported by the platform version.
*
*
* @param supportedTierList
* The tiers supported by the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withSupportedTierList(java.util.Collection supportedTierList) {
setSupportedTierList(supportedTierList);
return this;
}
/**
*
* The additions supported by the platform version.
*
*
* @return The additions supported by the platform version.
*/
public java.util.List getSupportedAddonList() {
if (supportedAddonList == null) {
supportedAddonList = new com.amazonaws.internal.SdkInternalList();
}
return supportedAddonList;
}
/**
*
* The additions supported by the platform version.
*
*
* @param supportedAddonList
* The additions supported by the platform version.
*/
public void setSupportedAddonList(java.util.Collection supportedAddonList) {
if (supportedAddonList == null) {
this.supportedAddonList = null;
return;
}
this.supportedAddonList = new com.amazonaws.internal.SdkInternalList(supportedAddonList);
}
/**
*
* The additions supported by the platform version.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setSupportedAddonList(java.util.Collection)} or {@link #withSupportedAddonList(java.util.Collection)} if
* you want to override the existing values.
*
*
* @param supportedAddonList
* The additions supported by the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withSupportedAddonList(String... supportedAddonList) {
if (this.supportedAddonList == null) {
setSupportedAddonList(new com.amazonaws.internal.SdkInternalList(supportedAddonList.length));
}
for (String ele : supportedAddonList) {
this.supportedAddonList.add(ele);
}
return this;
}
/**
*
* The additions supported by the platform version.
*
*
* @param supportedAddonList
* The additions supported by the platform version.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withSupportedAddonList(java.util.Collection supportedAddonList) {
setSupportedAddonList(supportedAddonList);
return this;
}
/**
*
* The state of the platform version in its lifecycle.
*
*
* Possible values: Recommended
| null
*
*
* If a null value is returned, the platform version isn't the recommended one for its branch. Each platform branch
* has a single recommended platform version, typically the most recent one.
*
*
* @param platformLifecycleState
* The state of the platform version in its lifecycle.
*
* Possible values: Recommended
| null
*
*
* If a null value is returned, the platform version isn't the recommended one for its branch. Each platform
* branch has a single recommended platform version, typically the most recent one.
*/
public void setPlatformLifecycleState(String platformLifecycleState) {
this.platformLifecycleState = platformLifecycleState;
}
/**
*
* The state of the platform version in its lifecycle.
*
*
* Possible values: Recommended
| null
*
*
* If a null value is returned, the platform version isn't the recommended one for its branch. Each platform branch
* has a single recommended platform version, typically the most recent one.
*
*
* @return The state of the platform version in its lifecycle.
*
* Possible values: Recommended
| null
*
*
* If a null value is returned, the platform version isn't the recommended one for its branch. Each platform
* branch has a single recommended platform version, typically the most recent one.
*/
public String getPlatformLifecycleState() {
return this.platformLifecycleState;
}
/**
*
* The state of the platform version in its lifecycle.
*
*
* Possible values: Recommended
| null
*
*
* If a null value is returned, the platform version isn't the recommended one for its branch. Each platform branch
* has a single recommended platform version, typically the most recent one.
*
*
* @param platformLifecycleState
* The state of the platform version in its lifecycle.
*
* Possible values: Recommended
| null
*
*
* If a null value is returned, the platform version isn't the recommended one for its branch. Each platform
* branch has a single recommended platform version, typically the most recent one.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withPlatformLifecycleState(String platformLifecycleState) {
setPlatformLifecycleState(platformLifecycleState);
return this;
}
/**
*
* The platform branch to which the platform version belongs.
*
*
* @param platformBranchName
* The platform branch to which the platform version belongs.
*/
public void setPlatformBranchName(String platformBranchName) {
this.platformBranchName = platformBranchName;
}
/**
*
* The platform branch to which the platform version belongs.
*
*
* @return The platform branch to which the platform version belongs.
*/
public String getPlatformBranchName() {
return this.platformBranchName;
}
/**
*
* The platform branch to which the platform version belongs.
*
*
* @param platformBranchName
* The platform branch to which the platform version belongs.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withPlatformBranchName(String platformBranchName) {
setPlatformBranchName(platformBranchName);
return this;
}
/**
*
* The state of the platform version's branch in its lifecycle.
*
*
* Possible values: Beta
| Supported
| Deprecated
| Retired
*
*
* @param platformBranchLifecycleState
* The state of the platform version's branch in its lifecycle.
*
* Possible values: Beta
| Supported
| Deprecated
|
* Retired
*/
public void setPlatformBranchLifecycleState(String platformBranchLifecycleState) {
this.platformBranchLifecycleState = platformBranchLifecycleState;
}
/**
*
* The state of the platform version's branch in its lifecycle.
*
*
* Possible values: Beta
| Supported
| Deprecated
| Retired
*
*
* @return The state of the platform version's branch in its lifecycle.
*
* Possible values: Beta
| Supported
| Deprecated
|
* Retired
*/
public String getPlatformBranchLifecycleState() {
return this.platformBranchLifecycleState;
}
/**
*
* The state of the platform version's branch in its lifecycle.
*
*
* Possible values: Beta
| Supported
| Deprecated
| Retired
*
*
* @param platformBranchLifecycleState
* The state of the platform version's branch in its lifecycle.
*
* Possible values: Beta
| Supported
| Deprecated
|
* Retired
* @return Returns a reference to this object so that method calls can be chained together.
*/
public PlatformDescription withPlatformBranchLifecycleState(String platformBranchLifecycleState) {
setPlatformBranchLifecycleState(platformBranchLifecycleState);
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 (getPlatformArn() != null)
sb.append("PlatformArn: ").append(getPlatformArn()).append(",");
if (getPlatformOwner() != null)
sb.append("PlatformOwner: ").append(getPlatformOwner()).append(",");
if (getPlatformName() != null)
sb.append("PlatformName: ").append(getPlatformName()).append(",");
if (getPlatformVersion() != null)
sb.append("PlatformVersion: ").append(getPlatformVersion()).append(",");
if (getSolutionStackName() != null)
sb.append("SolutionStackName: ").append(getSolutionStackName()).append(",");
if (getPlatformStatus() != null)
sb.append("PlatformStatus: ").append(getPlatformStatus()).append(",");
if (getDateCreated() != null)
sb.append("DateCreated: ").append(getDateCreated()).append(",");
if (getDateUpdated() != null)
sb.append("DateUpdated: ").append(getDateUpdated()).append(",");
if (getPlatformCategory() != null)
sb.append("PlatformCategory: ").append(getPlatformCategory()).append(",");
if (getDescription() != null)
sb.append("Description: ").append(getDescription()).append(",");
if (getMaintainer() != null)
sb.append("Maintainer: ").append(getMaintainer()).append(",");
if (getOperatingSystemName() != null)
sb.append("OperatingSystemName: ").append(getOperatingSystemName()).append(",");
if (getOperatingSystemVersion() != null)
sb.append("OperatingSystemVersion: ").append(getOperatingSystemVersion()).append(",");
if (getProgrammingLanguages() != null)
sb.append("ProgrammingLanguages: ").append(getProgrammingLanguages()).append(",");
if (getFrameworks() != null)
sb.append("Frameworks: ").append(getFrameworks()).append(",");
if (getCustomAmiList() != null)
sb.append("CustomAmiList: ").append(getCustomAmiList()).append(",");
if (getSupportedTierList() != null)
sb.append("SupportedTierList: ").append(getSupportedTierList()).append(",");
if (getSupportedAddonList() != null)
sb.append("SupportedAddonList: ").append(getSupportedAddonList()).append(",");
if (getPlatformLifecycleState() != null)
sb.append("PlatformLifecycleState: ").append(getPlatformLifecycleState()).append(",");
if (getPlatformBranchName() != null)
sb.append("PlatformBranchName: ").append(getPlatformBranchName()).append(",");
if (getPlatformBranchLifecycleState() != null)
sb.append("PlatformBranchLifecycleState: ").append(getPlatformBranchLifecycleState());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof PlatformDescription == false)
return false;
PlatformDescription other = (PlatformDescription) obj;
if (other.getPlatformArn() == null ^ this.getPlatformArn() == null)
return false;
if (other.getPlatformArn() != null && other.getPlatformArn().equals(this.getPlatformArn()) == false)
return false;
if (other.getPlatformOwner() == null ^ this.getPlatformOwner() == null)
return false;
if (other.getPlatformOwner() != null && other.getPlatformOwner().equals(this.getPlatformOwner()) == false)
return false;
if (other.getPlatformName() == null ^ this.getPlatformName() == null)
return false;
if (other.getPlatformName() != null && other.getPlatformName().equals(this.getPlatformName()) == false)
return false;
if (other.getPlatformVersion() == null ^ this.getPlatformVersion() == null)
return false;
if (other.getPlatformVersion() != null && other.getPlatformVersion().equals(this.getPlatformVersion()) == false)
return false;
if (other.getSolutionStackName() == null ^ this.getSolutionStackName() == null)
return false;
if (other.getSolutionStackName() != null && other.getSolutionStackName().equals(this.getSolutionStackName()) == false)
return false;
if (other.getPlatformStatus() == null ^ this.getPlatformStatus() == null)
return false;
if (other.getPlatformStatus() != null && other.getPlatformStatus().equals(this.getPlatformStatus()) == false)
return false;
if (other.getDateCreated() == null ^ this.getDateCreated() == null)
return false;
if (other.getDateCreated() != null && other.getDateCreated().equals(this.getDateCreated()) == false)
return false;
if (other.getDateUpdated() == null ^ this.getDateUpdated() == null)
return false;
if (other.getDateUpdated() != null && other.getDateUpdated().equals(this.getDateUpdated()) == false)
return false;
if (other.getPlatformCategory() == null ^ this.getPlatformCategory() == null)
return false;
if (other.getPlatformCategory() != null && other.getPlatformCategory().equals(this.getPlatformCategory()) == 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.getMaintainer() == null ^ this.getMaintainer() == null)
return false;
if (other.getMaintainer() != null && other.getMaintainer().equals(this.getMaintainer()) == false)
return false;
if (other.getOperatingSystemName() == null ^ this.getOperatingSystemName() == null)
return false;
if (other.getOperatingSystemName() != null && other.getOperatingSystemName().equals(this.getOperatingSystemName()) == false)
return false;
if (other.getOperatingSystemVersion() == null ^ this.getOperatingSystemVersion() == null)
return false;
if (other.getOperatingSystemVersion() != null && other.getOperatingSystemVersion().equals(this.getOperatingSystemVersion()) == false)
return false;
if (other.getProgrammingLanguages() == null ^ this.getProgrammingLanguages() == null)
return false;
if (other.getProgrammingLanguages() != null && other.getProgrammingLanguages().equals(this.getProgrammingLanguages()) == false)
return false;
if (other.getFrameworks() == null ^ this.getFrameworks() == null)
return false;
if (other.getFrameworks() != null && other.getFrameworks().equals(this.getFrameworks()) == false)
return false;
if (other.getCustomAmiList() == null ^ this.getCustomAmiList() == null)
return false;
if (other.getCustomAmiList() != null && other.getCustomAmiList().equals(this.getCustomAmiList()) == false)
return false;
if (other.getSupportedTierList() == null ^ this.getSupportedTierList() == null)
return false;
if (other.getSupportedTierList() != null && other.getSupportedTierList().equals(this.getSupportedTierList()) == false)
return false;
if (other.getSupportedAddonList() == null ^ this.getSupportedAddonList() == null)
return false;
if (other.getSupportedAddonList() != null && other.getSupportedAddonList().equals(this.getSupportedAddonList()) == false)
return false;
if (other.getPlatformLifecycleState() == null ^ this.getPlatformLifecycleState() == null)
return false;
if (other.getPlatformLifecycleState() != null && other.getPlatformLifecycleState().equals(this.getPlatformLifecycleState()) == false)
return false;
if (other.getPlatformBranchName() == null ^ this.getPlatformBranchName() == null)
return false;
if (other.getPlatformBranchName() != null && other.getPlatformBranchName().equals(this.getPlatformBranchName()) == false)
return false;
if (other.getPlatformBranchLifecycleState() == null ^ this.getPlatformBranchLifecycleState() == null)
return false;
if (other.getPlatformBranchLifecycleState() != null && other.getPlatformBranchLifecycleState().equals(this.getPlatformBranchLifecycleState()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getPlatformArn() == null) ? 0 : getPlatformArn().hashCode());
hashCode = prime * hashCode + ((getPlatformOwner() == null) ? 0 : getPlatformOwner().hashCode());
hashCode = prime * hashCode + ((getPlatformName() == null) ? 0 : getPlatformName().hashCode());
hashCode = prime * hashCode + ((getPlatformVersion() == null) ? 0 : getPlatformVersion().hashCode());
hashCode = prime * hashCode + ((getSolutionStackName() == null) ? 0 : getSolutionStackName().hashCode());
hashCode = prime * hashCode + ((getPlatformStatus() == null) ? 0 : getPlatformStatus().hashCode());
hashCode = prime * hashCode + ((getDateCreated() == null) ? 0 : getDateCreated().hashCode());
hashCode = prime * hashCode + ((getDateUpdated() == null) ? 0 : getDateUpdated().hashCode());
hashCode = prime * hashCode + ((getPlatformCategory() == null) ? 0 : getPlatformCategory().hashCode());
hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
hashCode = prime * hashCode + ((getMaintainer() == null) ? 0 : getMaintainer().hashCode());
hashCode = prime * hashCode + ((getOperatingSystemName() == null) ? 0 : getOperatingSystemName().hashCode());
hashCode = prime * hashCode + ((getOperatingSystemVersion() == null) ? 0 : getOperatingSystemVersion().hashCode());
hashCode = prime * hashCode + ((getProgrammingLanguages() == null) ? 0 : getProgrammingLanguages().hashCode());
hashCode = prime * hashCode + ((getFrameworks() == null) ? 0 : getFrameworks().hashCode());
hashCode = prime * hashCode + ((getCustomAmiList() == null) ? 0 : getCustomAmiList().hashCode());
hashCode = prime * hashCode + ((getSupportedTierList() == null) ? 0 : getSupportedTierList().hashCode());
hashCode = prime * hashCode + ((getSupportedAddonList() == null) ? 0 : getSupportedAddonList().hashCode());
hashCode = prime * hashCode + ((getPlatformLifecycleState() == null) ? 0 : getPlatformLifecycleState().hashCode());
hashCode = prime * hashCode + ((getPlatformBranchName() == null) ? 0 : getPlatformBranchName().hashCode());
hashCode = prime * hashCode + ((getPlatformBranchLifecycleState() == null) ? 0 : getPlatformBranchLifecycleState().hashCode());
return hashCode;
}
@Override
public PlatformDescription clone() {
try {
return (PlatformDescription) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
}