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

com.amazonaws.services.sagemaker.model.DescribeEndpointResult Maven / Gradle / Ivy

/*
 * Copyright 2015-2020 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.sagemaker.model;

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

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

    /**
     * 

* Name of the endpoint. *

*/ private String endpointName; /** *

* The Amazon Resource Name (ARN) of the endpoint. *

*/ private String endpointArn; /** *

* The name of the endpoint configuration associated with this endpoint. *

*/ private String endpointConfigName; /** *

* An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint. *

*/ private java.util.List productionVariants; private DataCaptureConfigSummary dataCaptureConfig; /** *

* The status of the endpoint. *

*
    *
  • *

    * OutOfService: Endpoint is not available to take incoming requests. *

    *
  • *
  • *

    * Creating: CreateEndpoint is executing. *

    *
  • *
  • *

    * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. *

    *
  • *
  • *

    * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled * until it has completed. This maintenance operation does not change any customer-specified values such as VPC * config, KMS encryption, model, instance type, or instance count. *

    *
  • *
  • *

    * RollingBack: Endpoint fails to scale up or down or change its variant weight and is in the process * of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an * InService status. This transitional status only applies to an endpoint that has autoscaling enabled * and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call * or when the UpdateEndpointWeightsAndCapacities operation is called explicitly. *

    *
  • *
  • *

    * InService: Endpoint is available to process incoming requests. *

    *
  • *
  • *

    * Deleting: DeleteEndpoint is executing. *

    *
  • *
  • *

    * Failed: Endpoint could not be created, updated, or re-scaled. Use * DescribeEndpointOutput$FailureReason for information about the failure. DeleteEndpoint is the only * operation that can be performed on a failed endpoint. *

    *
  • *
*/ private String endpointStatus; /** *

* If the status of the endpoint is Failed, the reason why it failed. *

*/ private String failureReason; /** *

* A timestamp that shows when the endpoint was created. *

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

* A timestamp that shows when the endpoint was last modified. *

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

* The most recent deployment configuration for the endpoint. *

*/ private DeploymentConfig lastDeploymentConfig; /** *

* Name of the endpoint. *

* * @param endpointName * Name of the endpoint. */ public void setEndpointName(String endpointName) { this.endpointName = endpointName; } /** *

* Name of the endpoint. *

* * @return Name of the endpoint. */ public String getEndpointName() { return this.endpointName; } /** *

* Name of the endpoint. *

* * @param endpointName * Name of the endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeEndpointResult withEndpointName(String endpointName) { setEndpointName(endpointName); return this; } /** *

* The Amazon Resource Name (ARN) of the endpoint. *

* * @param endpointArn * The Amazon Resource Name (ARN) of the endpoint. */ public void setEndpointArn(String endpointArn) { this.endpointArn = endpointArn; } /** *

* The Amazon Resource Name (ARN) of the endpoint. *

* * @return The Amazon Resource Name (ARN) of the endpoint. */ public String getEndpointArn() { return this.endpointArn; } /** *

* The Amazon Resource Name (ARN) of the endpoint. *

* * @param endpointArn * The Amazon Resource Name (ARN) of the endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeEndpointResult withEndpointArn(String endpointArn) { setEndpointArn(endpointArn); return this; } /** *

* The name of the endpoint configuration associated with this endpoint. *

* * @param endpointConfigName * The name of the endpoint configuration associated with this endpoint. */ public void setEndpointConfigName(String endpointConfigName) { this.endpointConfigName = endpointConfigName; } /** *

* The name of the endpoint configuration associated with this endpoint. *

* * @return The name of the endpoint configuration associated with this endpoint. */ public String getEndpointConfigName() { return this.endpointConfigName; } /** *

* The name of the endpoint configuration associated with this endpoint. *

* * @param endpointConfigName * The name of the endpoint configuration associated with this endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeEndpointResult withEndpointConfigName(String endpointConfigName) { setEndpointConfigName(endpointConfigName); return this; } /** *

* An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint. *

* * @return An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint. */ public java.util.List getProductionVariants() { return productionVariants; } /** *

* An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint. *

* * @param productionVariants * An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint. */ public void setProductionVariants(java.util.Collection productionVariants) { if (productionVariants == null) { this.productionVariants = null; return; } this.productionVariants = new java.util.ArrayList(productionVariants); } /** *

* An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint. *

*

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

* * @param productionVariants * An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeEndpointResult withProductionVariants(ProductionVariantSummary... productionVariants) { if (this.productionVariants == null) { setProductionVariants(new java.util.ArrayList(productionVariants.length)); } for (ProductionVariantSummary ele : productionVariants) { this.productionVariants.add(ele); } return this; } /** *

* An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint. *

* * @param productionVariants * An array of ProductionVariantSummary objects, one for each model hosted behind this endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeEndpointResult withProductionVariants(java.util.Collection productionVariants) { setProductionVariants(productionVariants); return this; } /** * @param dataCaptureConfig */ public void setDataCaptureConfig(DataCaptureConfigSummary dataCaptureConfig) { this.dataCaptureConfig = dataCaptureConfig; } /** * @return */ public DataCaptureConfigSummary getDataCaptureConfig() { return this.dataCaptureConfig; } /** * @param dataCaptureConfig * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeEndpointResult withDataCaptureConfig(DataCaptureConfigSummary dataCaptureConfig) { setDataCaptureConfig(dataCaptureConfig); return this; } /** *

* The status of the endpoint. *

*
    *
  • *

    * OutOfService: Endpoint is not available to take incoming requests. *

    *
  • *
  • *

    * Creating: CreateEndpoint is executing. *

    *
  • *
  • *

    * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. *

    *
  • *
  • *

    * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled * until it has completed. This maintenance operation does not change any customer-specified values such as VPC * config, KMS encryption, model, instance type, or instance count. *

    *
  • *
  • *

    * RollingBack: Endpoint fails to scale up or down or change its variant weight and is in the process * of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an * InService status. This transitional status only applies to an endpoint that has autoscaling enabled * and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call * or when the UpdateEndpointWeightsAndCapacities operation is called explicitly. *

    *
  • *
  • *

    * InService: Endpoint is available to process incoming requests. *

    *
  • *
  • *

    * Deleting: DeleteEndpoint is executing. *

    *
  • *
  • *

    * Failed: Endpoint could not be created, updated, or re-scaled. Use * DescribeEndpointOutput$FailureReason for information about the failure. DeleteEndpoint is the only * operation that can be performed on a failed endpoint. *

    *
  • *
* * @param endpointStatus * The status of the endpoint.

*
    *
  • *

    * OutOfService: Endpoint is not available to take incoming requests. *

    *
  • *
  • *

    * Creating: CreateEndpoint is executing. *

    *
  • *
  • *

    * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. *

    *
  • *
  • *

    * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated or deleted or * re-scaled until it has completed. This maintenance operation does not change any customer-specified values * such as VPC config, KMS encryption, model, instance type, or instance count. *

    *
  • *
  • *

    * RollingBack: Endpoint fails to scale up or down or change its variant weight and is in the * process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an * InService status. This transitional status only applies to an endpoint that has autoscaling * enabled and is undergoing variant weight or capacity changes as part of an * UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities * operation is called explicitly. *

    *
  • *
  • *

    * InService: Endpoint is available to process incoming requests. *

    *
  • *
  • *

    * Deleting: DeleteEndpoint is executing. *

    *
  • *
  • *

    * Failed: Endpoint could not be created, updated, or re-scaled. Use * DescribeEndpointOutput$FailureReason for information about the failure. DeleteEndpoint is * the only operation that can be performed on a failed endpoint. *

    *
  • * @see EndpointStatus */ public void setEndpointStatus(String endpointStatus) { this.endpointStatus = endpointStatus; } /** *

    * The status of the endpoint. *

    *
      *
    • *

      * OutOfService: Endpoint is not available to take incoming requests. *

      *
    • *
    • *

      * Creating: CreateEndpoint is executing. *

      *
    • *
    • *

      * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. *

      *
    • *
    • *

      * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled * until it has completed. This maintenance operation does not change any customer-specified values such as VPC * config, KMS encryption, model, instance type, or instance count. *

      *
    • *
    • *

      * RollingBack: Endpoint fails to scale up or down or change its variant weight and is in the process * of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an * InService status. This transitional status only applies to an endpoint that has autoscaling enabled * and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call * or when the UpdateEndpointWeightsAndCapacities operation is called explicitly. *

      *
    • *
    • *

      * InService: Endpoint is available to process incoming requests. *

      *
    • *
    • *

      * Deleting: DeleteEndpoint is executing. *

      *
    • *
    • *

      * Failed: Endpoint could not be created, updated, or re-scaled. Use * DescribeEndpointOutput$FailureReason for information about the failure. DeleteEndpoint is the only * operation that can be performed on a failed endpoint. *

      *
    • *
    * * @return The status of the endpoint.

    *
      *
    • *

      * OutOfService: Endpoint is not available to take incoming requests. *

      *
    • *
    • *

      * Creating: CreateEndpoint is executing. *

      *
    • *
    • *

      * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. *

      *
    • *
    • *

      * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated or deleted or * re-scaled until it has completed. This maintenance operation does not change any customer-specified * values such as VPC config, KMS encryption, model, instance type, or instance count. *

      *
    • *
    • *

      * RollingBack: Endpoint fails to scale up or down or change its variant weight and is in the * process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to * an InService status. This transitional status only applies to an endpoint that has * autoscaling enabled and is undergoing variant weight or capacity changes as part of an * UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities * operation is called explicitly. *

      *
    • *
    • *

      * InService: Endpoint is available to process incoming requests. *

      *
    • *
    • *

      * Deleting: DeleteEndpoint is executing. *

      *
    • *
    • *

      * Failed: Endpoint could not be created, updated, or re-scaled. Use * DescribeEndpointOutput$FailureReason for information about the failure. DeleteEndpoint is * the only operation that can be performed on a failed endpoint. *

      *
    • * @see EndpointStatus */ public String getEndpointStatus() { return this.endpointStatus; } /** *

      * The status of the endpoint. *

      *
        *
      • *

        * OutOfService: Endpoint is not available to take incoming requests. *

        *
      • *
      • *

        * Creating: CreateEndpoint is executing. *

        *
      • *
      • *

        * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. *

        *
      • *
      • *

        * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled * until it has completed. This maintenance operation does not change any customer-specified values such as VPC * config, KMS encryption, model, instance type, or instance count. *

        *
      • *
      • *

        * RollingBack: Endpoint fails to scale up or down or change its variant weight and is in the process * of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an * InService status. This transitional status only applies to an endpoint that has autoscaling enabled * and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call * or when the UpdateEndpointWeightsAndCapacities operation is called explicitly. *

        *
      • *
      • *

        * InService: Endpoint is available to process incoming requests. *

        *
      • *
      • *

        * Deleting: DeleteEndpoint is executing. *

        *
      • *
      • *

        * Failed: Endpoint could not be created, updated, or re-scaled. Use * DescribeEndpointOutput$FailureReason for information about the failure. DeleteEndpoint is the only * operation that can be performed on a failed endpoint. *

        *
      • *
      * * @param endpointStatus * The status of the endpoint.

      *
        *
      • *

        * OutOfService: Endpoint is not available to take incoming requests. *

        *
      • *
      • *

        * Creating: CreateEndpoint is executing. *

        *
      • *
      • *

        * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. *

        *
      • *
      • *

        * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated or deleted or * re-scaled until it has completed. This maintenance operation does not change any customer-specified values * such as VPC config, KMS encryption, model, instance type, or instance count. *

        *
      • *
      • *

        * RollingBack: Endpoint fails to scale up or down or change its variant weight and is in the * process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an * InService status. This transitional status only applies to an endpoint that has autoscaling * enabled and is undergoing variant weight or capacity changes as part of an * UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities * operation is called explicitly. *

        *
      • *
      • *

        * InService: Endpoint is available to process incoming requests. *

        *
      • *
      • *

        * Deleting: DeleteEndpoint is executing. *

        *
      • *
      • *

        * Failed: Endpoint could not be created, updated, or re-scaled. Use * DescribeEndpointOutput$FailureReason for information about the failure. DeleteEndpoint is * the only operation that can be performed on a failed endpoint. *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. * @see EndpointStatus */ public DescribeEndpointResult withEndpointStatus(String endpointStatus) { setEndpointStatus(endpointStatus); return this; } /** *

        * The status of the endpoint. *

        *
          *
        • *

          * OutOfService: Endpoint is not available to take incoming requests. *

          *
        • *
        • *

          * Creating: CreateEndpoint is executing. *

          *
        • *
        • *

          * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. *

          *
        • *
        • *

          * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated or deleted or re-scaled * until it has completed. This maintenance operation does not change any customer-specified values such as VPC * config, KMS encryption, model, instance type, or instance count. *

          *
        • *
        • *

          * RollingBack: Endpoint fails to scale up or down or change its variant weight and is in the process * of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an * InService status. This transitional status only applies to an endpoint that has autoscaling enabled * and is undergoing variant weight or capacity changes as part of an UpdateEndpointWeightsAndCapacities call * or when the UpdateEndpointWeightsAndCapacities operation is called explicitly. *

          *
        • *
        • *

          * InService: Endpoint is available to process incoming requests. *

          *
        • *
        • *

          * Deleting: DeleteEndpoint is executing. *

          *
        • *
        • *

          * Failed: Endpoint could not be created, updated, or re-scaled. Use * DescribeEndpointOutput$FailureReason for information about the failure. DeleteEndpoint is the only * operation that can be performed on a failed endpoint. *

          *
        • *
        * * @param endpointStatus * The status of the endpoint.

        *
          *
        • *

          * OutOfService: Endpoint is not available to take incoming requests. *

          *
        • *
        • *

          * Creating: CreateEndpoint is executing. *

          *
        • *
        • *

          * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing. *

          *
        • *
        • *

          * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated or deleted or * re-scaled until it has completed. This maintenance operation does not change any customer-specified values * such as VPC config, KMS encryption, model, instance type, or instance count. *

          *
        • *
        • *

          * RollingBack: Endpoint fails to scale up or down or change its variant weight and is in the * process of rolling back to its previous configuration. Once the rollback completes, endpoint returns to an * InService status. This transitional status only applies to an endpoint that has autoscaling * enabled and is undergoing variant weight or capacity changes as part of an * UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities * operation is called explicitly. *

          *
        • *
        • *

          * InService: Endpoint is available to process incoming requests. *

          *
        • *
        • *

          * Deleting: DeleteEndpoint is executing. *

          *
        • *
        • *

          * Failed: Endpoint could not be created, updated, or re-scaled. Use * DescribeEndpointOutput$FailureReason for information about the failure. DeleteEndpoint is * the only operation that can be performed on a failed endpoint. *

          *
        • * @return Returns a reference to this object so that method calls can be chained together. * @see EndpointStatus */ public DescribeEndpointResult withEndpointStatus(EndpointStatus endpointStatus) { this.endpointStatus = endpointStatus.toString(); return this; } /** *

          * If the status of the endpoint is Failed, the reason why it failed. *

          * * @param failureReason * If the status of the endpoint is Failed, the reason why it failed. */ public void setFailureReason(String failureReason) { this.failureReason = failureReason; } /** *

          * If the status of the endpoint is Failed, the reason why it failed. *

          * * @return If the status of the endpoint is Failed, the reason why it failed. */ public String getFailureReason() { return this.failureReason; } /** *

          * If the status of the endpoint is Failed, the reason why it failed. *

          * * @param failureReason * If the status of the endpoint is Failed, the reason why it failed. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeEndpointResult withFailureReason(String failureReason) { setFailureReason(failureReason); return this; } /** *

          * A timestamp that shows when the endpoint was created. *

          * * @param creationTime * A timestamp that shows when the endpoint was created. */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** *

          * A timestamp that shows when the endpoint was created. *

          * * @return A timestamp that shows when the endpoint was created. */ public java.util.Date getCreationTime() { return this.creationTime; } /** *

          * A timestamp that shows when the endpoint was created. *

          * * @param creationTime * A timestamp that shows when the endpoint was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeEndpointResult withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** *

          * A timestamp that shows when the endpoint was last modified. *

          * * @param lastModifiedTime * A timestamp that shows when the endpoint was last modified. */ public void setLastModifiedTime(java.util.Date lastModifiedTime) { this.lastModifiedTime = lastModifiedTime; } /** *

          * A timestamp that shows when the endpoint was last modified. *

          * * @return A timestamp that shows when the endpoint was last modified. */ public java.util.Date getLastModifiedTime() { return this.lastModifiedTime; } /** *

          * A timestamp that shows when the endpoint was last modified. *

          * * @param lastModifiedTime * A timestamp that shows when the endpoint was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeEndpointResult withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; } /** *

          * The most recent deployment configuration for the endpoint. *

          * * @param lastDeploymentConfig * The most recent deployment configuration for the endpoint. */ public void setLastDeploymentConfig(DeploymentConfig lastDeploymentConfig) { this.lastDeploymentConfig = lastDeploymentConfig; } /** *

          * The most recent deployment configuration for the endpoint. *

          * * @return The most recent deployment configuration for the endpoint. */ public DeploymentConfig getLastDeploymentConfig() { return this.lastDeploymentConfig; } /** *

          * The most recent deployment configuration for the endpoint. *

          * * @param lastDeploymentConfig * The most recent deployment configuration for the endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeEndpointResult withLastDeploymentConfig(DeploymentConfig lastDeploymentConfig) { setLastDeploymentConfig(lastDeploymentConfig); 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 (getEndpointName() != null) sb.append("EndpointName: ").append(getEndpointName()).append(","); if (getEndpointArn() != null) sb.append("EndpointArn: ").append(getEndpointArn()).append(","); if (getEndpointConfigName() != null) sb.append("EndpointConfigName: ").append(getEndpointConfigName()).append(","); if (getProductionVariants() != null) sb.append("ProductionVariants: ").append(getProductionVariants()).append(","); if (getDataCaptureConfig() != null) sb.append("DataCaptureConfig: ").append(getDataCaptureConfig()).append(","); if (getEndpointStatus() != null) sb.append("EndpointStatus: ").append(getEndpointStatus()).append(","); if (getFailureReason() != null) sb.append("FailureReason: ").append(getFailureReason()).append(","); if (getCreationTime() != null) sb.append("CreationTime: ").append(getCreationTime()).append(","); if (getLastModifiedTime() != null) sb.append("LastModifiedTime: ").append(getLastModifiedTime()).append(","); if (getLastDeploymentConfig() != null) sb.append("LastDeploymentConfig: ").append(getLastDeploymentConfig()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeEndpointResult == false) return false; DescribeEndpointResult other = (DescribeEndpointResult) obj; if (other.getEndpointName() == null ^ this.getEndpointName() == null) return false; if (other.getEndpointName() != null && other.getEndpointName().equals(this.getEndpointName()) == false) return false; if (other.getEndpointArn() == null ^ this.getEndpointArn() == null) return false; if (other.getEndpointArn() != null && other.getEndpointArn().equals(this.getEndpointArn()) == false) return false; if (other.getEndpointConfigName() == null ^ this.getEndpointConfigName() == null) return false; if (other.getEndpointConfigName() != null && other.getEndpointConfigName().equals(this.getEndpointConfigName()) == false) return false; if (other.getProductionVariants() == null ^ this.getProductionVariants() == null) return false; if (other.getProductionVariants() != null && other.getProductionVariants().equals(this.getProductionVariants()) == false) return false; if (other.getDataCaptureConfig() == null ^ this.getDataCaptureConfig() == null) return false; if (other.getDataCaptureConfig() != null && other.getDataCaptureConfig().equals(this.getDataCaptureConfig()) == false) return false; if (other.getEndpointStatus() == null ^ this.getEndpointStatus() == null) return false; if (other.getEndpointStatus() != null && other.getEndpointStatus().equals(this.getEndpointStatus()) == false) return false; if (other.getFailureReason() == null ^ this.getFailureReason() == null) return false; if (other.getFailureReason() != null && other.getFailureReason().equals(this.getFailureReason()) == false) return false; if (other.getCreationTime() == null ^ this.getCreationTime() == null) return false; if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false) return false; if (other.getLastModifiedTime() == null ^ this.getLastModifiedTime() == null) return false; if (other.getLastModifiedTime() != null && other.getLastModifiedTime().equals(this.getLastModifiedTime()) == false) return false; if (other.getLastDeploymentConfig() == null ^ this.getLastDeploymentConfig() == null) return false; if (other.getLastDeploymentConfig() != null && other.getLastDeploymentConfig().equals(this.getLastDeploymentConfig()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getEndpointName() == null) ? 0 : getEndpointName().hashCode()); hashCode = prime * hashCode + ((getEndpointArn() == null) ? 0 : getEndpointArn().hashCode()); hashCode = prime * hashCode + ((getEndpointConfigName() == null) ? 0 : getEndpointConfigName().hashCode()); hashCode = prime * hashCode + ((getProductionVariants() == null) ? 0 : getProductionVariants().hashCode()); hashCode = prime * hashCode + ((getDataCaptureConfig() == null) ? 0 : getDataCaptureConfig().hashCode()); hashCode = prime * hashCode + ((getEndpointStatus() == null) ? 0 : getEndpointStatus().hashCode()); hashCode = prime * hashCode + ((getFailureReason() == null) ? 0 : getFailureReason().hashCode()); hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode()); hashCode = prime * hashCode + ((getLastModifiedTime() == null) ? 0 : getLastModifiedTime().hashCode()); hashCode = prime * hashCode + ((getLastDeploymentConfig() == null) ? 0 : getLastDeploymentConfig().hashCode()); return hashCode; } @Override public DescribeEndpointResult clone() { try { return (DescribeEndpointResult) 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