/* * 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.outposts.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Information about compute hardware assets. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ComputeAttributes implements Serializable, Cloneable, StructuredPojo { /** ** The host ID of the Dedicated Host on the asset. *
*/ private String hostId; /** ** The state. *
** ACTIVE - The asset is available and can provide capacity for new compute resources. *
** ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing * compute resources on the asset are not affected. *
** RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. * Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced. *
** The host ID of the Dedicated Host on the asset. *
* * @param hostId * The host ID of the Dedicated Host on the asset. */ public void setHostId(String hostId) { this.hostId = hostId; } /** ** The host ID of the Dedicated Host on the asset. *
* * @return The host ID of the Dedicated Host on the asset. */ public String getHostId() { return this.hostId; } /** ** The host ID of the Dedicated Host on the asset. *
* * @param hostId * The host ID of the Dedicated Host on the asset. * @return Returns a reference to this object so that method calls can be chained together. */ public ComputeAttributes withHostId(String hostId) { setHostId(hostId); return this; } /** ** The state. *
** ACTIVE - The asset is available and can provide capacity for new compute resources. *
** ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing * compute resources on the asset are not affected. *
** RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. * Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced. *
** ACTIVE - The asset is available and can provide capacity for new compute resources. *
** ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. * Existing compute resources on the asset are not affected. *
** RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is * reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can * be replaced. *
** The state. *
** ACTIVE - The asset is available and can provide capacity for new compute resources. *
** ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing * compute resources on the asset are not affected. *
** RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. * Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced. *
** ACTIVE - The asset is available and can provide capacity for new compute resources. *
** ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. * Existing compute resources on the asset are not affected. *
** RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is * reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can * be replaced. *
** The state. *
** ACTIVE - The asset is available and can provide capacity for new compute resources. *
** ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing * compute resources on the asset are not affected. *
** RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. * Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced. *
** ACTIVE - The asset is available and can provide capacity for new compute resources. *
** ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. * Existing compute resources on the asset are not affected. *
** RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is * reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can * be replaced. *
** The state. *
** ACTIVE - The asset is available and can provide capacity for new compute resources. *
** ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing * compute resources on the asset are not affected. *
** RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. * Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced. *
** ACTIVE - The asset is available and can provide capacity for new compute resources. *
** ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. * Existing compute resources on the asset are not affected. *
** RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is * reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can * be replaced. *
*