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

software.amazon.awssdk.services.outposts.model.UpdateSiteRackPhysicalPropertiesRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Outposts module holds the client classes that are used for communicating with Outposts.

There is a newer version: 2.29.39
Show newest version
/*
 * Copyright 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 software.amazon.awssdk.services.outposts.model;

import java.beans.Transient;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.function.Function;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration;
import software.amazon.awssdk.core.SdkField;
import software.amazon.awssdk.core.SdkPojo;
import software.amazon.awssdk.core.protocol.MarshallLocation;
import software.amazon.awssdk.core.protocol.MarshallingType;
import software.amazon.awssdk.core.traits.LocationTrait;
import software.amazon.awssdk.utils.ToString;
import software.amazon.awssdk.utils.builder.CopyableBuilder;
import software.amazon.awssdk.utils.builder.ToCopyableBuilder;

/**
 */
@Generated("software.amazon.awssdk:codegen")
public final class UpdateSiteRackPhysicalPropertiesRequest extends OutpostsRequest implements
        ToCopyableBuilder {
    private static final SdkField SITE_ID_FIELD = SdkField. builder(MarshallingType.STRING).memberName("SiteId")
            .getter(getter(UpdateSiteRackPhysicalPropertiesRequest::siteId)).setter(setter(Builder::siteId))
            .traits(LocationTrait.builder().location(MarshallLocation.PATH).locationName("SiteId").build()).build();

    private static final SdkField POWER_DRAW_KVA_FIELD = SdkField. builder(MarshallingType.STRING)
            .memberName("PowerDrawKva").getter(getter(UpdateSiteRackPhysicalPropertiesRequest::powerDrawKvaAsString))
            .setter(setter(Builder::powerDrawKva))
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("PowerDrawKva").build()).build();

    private static final SdkField POWER_PHASE_FIELD = SdkField. builder(MarshallingType.STRING)
            .memberName("PowerPhase").getter(getter(UpdateSiteRackPhysicalPropertiesRequest::powerPhaseAsString))
            .setter(setter(Builder::powerPhase))
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("PowerPhase").build()).build();

    private static final SdkField POWER_CONNECTOR_FIELD = SdkField. builder(MarshallingType.STRING)
            .memberName("PowerConnector").getter(getter(UpdateSiteRackPhysicalPropertiesRequest::powerConnectorAsString))
            .setter(setter(Builder::powerConnector))
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("PowerConnector").build()).build();

    private static final SdkField POWER_FEED_DROP_FIELD = SdkField. builder(MarshallingType.STRING)
            .memberName("PowerFeedDrop").getter(getter(UpdateSiteRackPhysicalPropertiesRequest::powerFeedDropAsString))
            .setter(setter(Builder::powerFeedDrop))
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("PowerFeedDrop").build()).build();

    private static final SdkField UPLINK_GBPS_FIELD = SdkField. builder(MarshallingType.STRING)
            .memberName("UplinkGbps").getter(getter(UpdateSiteRackPhysicalPropertiesRequest::uplinkGbpsAsString))
            .setter(setter(Builder::uplinkGbps))
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("UplinkGbps").build()).build();

    private static final SdkField UPLINK_COUNT_FIELD = SdkField. builder(MarshallingType.STRING)
            .memberName("UplinkCount").getter(getter(UpdateSiteRackPhysicalPropertiesRequest::uplinkCountAsString))
            .setter(setter(Builder::uplinkCount))
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("UplinkCount").build()).build();

    private static final SdkField FIBER_OPTIC_CABLE_TYPE_FIELD = SdkField. builder(MarshallingType.STRING)
            .memberName("FiberOpticCableType")
            .getter(getter(UpdateSiteRackPhysicalPropertiesRequest::fiberOpticCableTypeAsString))
            .setter(setter(Builder::fiberOpticCableType))
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("FiberOpticCableType").build())
            .build();

    private static final SdkField OPTICAL_STANDARD_FIELD = SdkField. builder(MarshallingType.STRING)
            .memberName("OpticalStandard").getter(getter(UpdateSiteRackPhysicalPropertiesRequest::opticalStandardAsString))
            .setter(setter(Builder::opticalStandard))
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("OpticalStandard").build()).build();

    private static final SdkField MAXIMUM_SUPPORTED_WEIGHT_LBS_FIELD = SdkField. builder(MarshallingType.STRING)
            .memberName("MaximumSupportedWeightLbs")
            .getter(getter(UpdateSiteRackPhysicalPropertiesRequest::maximumSupportedWeightLbsAsString))
            .setter(setter(Builder::maximumSupportedWeightLbs))
            .traits(LocationTrait.builder().location(MarshallLocation.PAYLOAD).locationName("MaximumSupportedWeightLbs").build())
            .build();

    private static final List> SDK_FIELDS = Collections.unmodifiableList(Arrays.asList(SITE_ID_FIELD,
            POWER_DRAW_KVA_FIELD, POWER_PHASE_FIELD, POWER_CONNECTOR_FIELD, POWER_FEED_DROP_FIELD, UPLINK_GBPS_FIELD,
            UPLINK_COUNT_FIELD, FIBER_OPTIC_CABLE_TYPE_FIELD, OPTICAL_STANDARD_FIELD, MAXIMUM_SUPPORTED_WEIGHT_LBS_FIELD));

    private final String siteId;

    private final String powerDrawKva;

    private final String powerPhase;

    private final String powerConnector;

    private final String powerFeedDrop;

    private final String uplinkGbps;

    private final String uplinkCount;

    private final String fiberOpticCableType;

    private final String opticalStandard;

    private final String maximumSupportedWeightLbs;

    private UpdateSiteRackPhysicalPropertiesRequest(BuilderImpl builder) {
        super(builder);
        this.siteId = builder.siteId;
        this.powerDrawKva = builder.powerDrawKva;
        this.powerPhase = builder.powerPhase;
        this.powerConnector = builder.powerConnector;
        this.powerFeedDrop = builder.powerFeedDrop;
        this.uplinkGbps = builder.uplinkGbps;
        this.uplinkCount = builder.uplinkCount;
        this.fiberOpticCableType = builder.fiberOpticCableType;
        this.opticalStandard = builder.opticalStandard;
        this.maximumSupportedWeightLbs = builder.maximumSupportedWeightLbs;
    }

    /**
     * 

* The ID or the Amazon Resource Name (ARN) of the site. *

* * @return The ID or the Amazon Resource Name (ARN) of the site. */ public final String siteId() { return siteId; } /** *

* Specify in kVA the power draw available at the hardware placement position for the rack. *

*

* If the service returns an enum value that is not available in the current SDK version, {@link #powerDrawKva} will * return {@link PowerDrawKva#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #powerDrawKvaAsString}. *

* * @return Specify in kVA the power draw available at the hardware placement position for the rack. * @see PowerDrawKva */ public final PowerDrawKva powerDrawKva() { return PowerDrawKva.fromValue(powerDrawKva); } /** *

* Specify in kVA the power draw available at the hardware placement position for the rack. *

*

* If the service returns an enum value that is not available in the current SDK version, {@link #powerDrawKva} will * return {@link PowerDrawKva#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #powerDrawKvaAsString}. *

* * @return Specify in kVA the power draw available at the hardware placement position for the rack. * @see PowerDrawKva */ public final String powerDrawKvaAsString() { return powerDrawKva; } /** *

* Specify the power option that you can provide for hardware. *

*
    *
  • *

    * Single-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz *

    *
  • *
  • *

    * Three-phase AC feed: 346 V to 480 V, 50 Hz or 60 Hz *

    *
  • *
*

* If the service returns an enum value that is not available in the current SDK version, {@link #powerPhase} will * return {@link PowerPhase#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #powerPhaseAsString}. *

* * @return Specify the power option that you can provide for hardware.

*
    *
  • *

    * Single-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz *

    *
  • *
  • *

    * Three-phase AC feed: 346 V to 480 V, 50 Hz or 60 Hz *

    *
  • * @see PowerPhase */ public final PowerPhase powerPhase() { return PowerPhase.fromValue(powerPhase); } /** *

    * Specify the power option that you can provide for hardware. *

    *
      *
    • *

      * Single-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz *

      *
    • *
    • *

      * Three-phase AC feed: 346 V to 480 V, 50 Hz or 60 Hz *

      *
    • *
    *

    * If the service returns an enum value that is not available in the current SDK version, {@link #powerPhase} will * return {@link PowerPhase#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #powerPhaseAsString}. *

    * * @return Specify the power option that you can provide for hardware.

    *
      *
    • *

      * Single-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz *

      *
    • *
    • *

      * Three-phase AC feed: 346 V to 480 V, 50 Hz or 60 Hz *

      *
    • * @see PowerPhase */ public final String powerPhaseAsString() { return powerPhase; } /** *

      * Specify the power connector that Amazon Web Services should plan to provide for connections to the hardware. Note * the correlation between PowerPhase and PowerConnector. *

      *
        *
      • *

        * Single-phase AC feed *

        *
          *
        • *

          * L6-30P – (common in US); 30A; single phase *

          *
        • *
        • *

          * IEC309 (blue) – P+N+E, 6hr; 32 A; single phase *

          *
        • *
        *
      • *
      • *

        * Three-phase AC feed *

        *
          *
        • *

          * AH530P7W (red) – 3P+N+E, 7hr; 30A; three phase *

          *
        • *
        • *

          * AH532P6W (red) – 3P+N+E, 6hr; 32A; three phase *

          *
        • *
        *
      • *
      *

      * If the service returns an enum value that is not available in the current SDK version, {@link #powerConnector} * will return {@link PowerConnector#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available * from {@link #powerConnectorAsString}. *

      * * @return Specify the power connector that Amazon Web Services should plan to provide for connections to the * hardware. Note the correlation between PowerPhase and PowerConnector.

      *
        *
      • *

        * Single-phase AC feed *

        *
          *
        • *

          * L6-30P – (common in US); 30A; single phase *

          *
        • *
        • *

          * IEC309 (blue) – P+N+E, 6hr; 32 A; single phase *

          *
        • *
        *
      • *
      • *

        * Three-phase AC feed *

        *
          *
        • *

          * AH530P7W (red) – 3P+N+E, 7hr; 30A; three phase *

          *
        • *
        • *

          * AH532P6W (red) – 3P+N+E, 6hr; 32A; three phase *

          *
        • *
        *
      • * @see PowerConnector */ public final PowerConnector powerConnector() { return PowerConnector.fromValue(powerConnector); } /** *

        * Specify the power connector that Amazon Web Services should plan to provide for connections to the hardware. Note * the correlation between PowerPhase and PowerConnector. *

        *
          *
        • *

          * Single-phase AC feed *

          *
            *
          • *

            * L6-30P – (common in US); 30A; single phase *

            *
          • *
          • *

            * IEC309 (blue) – P+N+E, 6hr; 32 A; single phase *

            *
          • *
          *
        • *
        • *

          * Three-phase AC feed *

          *
            *
          • *

            * AH530P7W (red) – 3P+N+E, 7hr; 30A; three phase *

            *
          • *
          • *

            * AH532P6W (red) – 3P+N+E, 6hr; 32A; three phase *

            *
          • *
          *
        • *
        *

        * If the service returns an enum value that is not available in the current SDK version, {@link #powerConnector} * will return {@link PowerConnector#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available * from {@link #powerConnectorAsString}. *

        * * @return Specify the power connector that Amazon Web Services should plan to provide for connections to the * hardware. Note the correlation between PowerPhase and PowerConnector.

        *
          *
        • *

          * Single-phase AC feed *

          *
            *
          • *

            * L6-30P – (common in US); 30A; single phase *

            *
          • *
          • *

            * IEC309 (blue) – P+N+E, 6hr; 32 A; single phase *

            *
          • *
          *
        • *
        • *

          * Three-phase AC feed *

          *
            *
          • *

            * AH530P7W (red) – 3P+N+E, 7hr; 30A; three phase *

            *
          • *
          • *

            * AH532P6W (red) – 3P+N+E, 6hr; 32A; three phase *

            *
          • *
          *
        • * @see PowerConnector */ public final String powerConnectorAsString() { return powerConnector; } /** *

          * Specify whether the power feed comes above or below the rack. *

          *

          * If the service returns an enum value that is not available in the current SDK version, {@link #powerFeedDrop} * will return {@link PowerFeedDrop#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #powerFeedDropAsString}. *

          * * @return Specify whether the power feed comes above or below the rack. * @see PowerFeedDrop */ public final PowerFeedDrop powerFeedDrop() { return PowerFeedDrop.fromValue(powerFeedDrop); } /** *

          * Specify whether the power feed comes above or below the rack. *

          *

          * If the service returns an enum value that is not available in the current SDK version, {@link #powerFeedDrop} * will return {@link PowerFeedDrop#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #powerFeedDropAsString}. *

          * * @return Specify whether the power feed comes above or below the rack. * @see PowerFeedDrop */ public final String powerFeedDropAsString() { return powerFeedDrop; } /** *

          * Specify the uplink speed the rack should support for the connection to the Region. *

          *

          * If the service returns an enum value that is not available in the current SDK version, {@link #uplinkGbps} will * return {@link UplinkGbps#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #uplinkGbpsAsString}. *

          * * @return Specify the uplink speed the rack should support for the connection to the Region. * @see UplinkGbps */ public final UplinkGbps uplinkGbps() { return UplinkGbps.fromValue(uplinkGbps); } /** *

          * Specify the uplink speed the rack should support for the connection to the Region. *

          *

          * If the service returns an enum value that is not available in the current SDK version, {@link #uplinkGbps} will * return {@link UplinkGbps#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #uplinkGbpsAsString}. *

          * * @return Specify the uplink speed the rack should support for the connection to the Region. * @see UplinkGbps */ public final String uplinkGbpsAsString() { return uplinkGbps; } /** *

          * Racks come with two Outpost network devices. Depending on the supported uplink speed at the site, the Outpost * network devices provide a variable number of uplinks. Specify the number of uplinks for each Outpost network * device that you intend to use to connect the rack to your network. Note the correlation between * UplinkGbps and UplinkCount. *

          *
            *
          • *

            * 1Gbps - Uplinks available: 1, 2, 4, 6, 8 *

            *
          • *
          • *

            * 10Gbps - Uplinks available: 1, 2, 4, 8, 12, 16 *

            *
          • *
          • *

            * 40 and 100 Gbps- Uplinks available: 1, 2, 4 *

            *
          • *
          *

          * If the service returns an enum value that is not available in the current SDK version, {@link #uplinkCount} will * return {@link UplinkCount#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #uplinkCountAsString}. *

          * * @return Racks come with two Outpost network devices. Depending on the supported uplink speed at the site, the * Outpost network devices provide a variable number of uplinks. Specify the number of uplinks for each * Outpost network device that you intend to use to connect the rack to your network. Note the correlation * between UplinkGbps and UplinkCount.

          *
            *
          • *

            * 1Gbps - Uplinks available: 1, 2, 4, 6, 8 *

            *
          • *
          • *

            * 10Gbps - Uplinks available: 1, 2, 4, 8, 12, 16 *

            *
          • *
          • *

            * 40 and 100 Gbps- Uplinks available: 1, 2, 4 *

            *
          • * @see UplinkCount */ public final UplinkCount uplinkCount() { return UplinkCount.fromValue(uplinkCount); } /** *

            * Racks come with two Outpost network devices. Depending on the supported uplink speed at the site, the Outpost * network devices provide a variable number of uplinks. Specify the number of uplinks for each Outpost network * device that you intend to use to connect the rack to your network. Note the correlation between * UplinkGbps and UplinkCount. *

            *
              *
            • *

              * 1Gbps - Uplinks available: 1, 2, 4, 6, 8 *

              *
            • *
            • *

              * 10Gbps - Uplinks available: 1, 2, 4, 8, 12, 16 *

              *
            • *
            • *

              * 40 and 100 Gbps- Uplinks available: 1, 2, 4 *

              *
            • *
            *

            * If the service returns an enum value that is not available in the current SDK version, {@link #uplinkCount} will * return {@link UplinkCount#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #uplinkCountAsString}. *

            * * @return Racks come with two Outpost network devices. Depending on the supported uplink speed at the site, the * Outpost network devices provide a variable number of uplinks. Specify the number of uplinks for each * Outpost network device that you intend to use to connect the rack to your network. Note the correlation * between UplinkGbps and UplinkCount.

            *
              *
            • *

              * 1Gbps - Uplinks available: 1, 2, 4, 6, 8 *

              *
            • *
            • *

              * 10Gbps - Uplinks available: 1, 2, 4, 8, 12, 16 *

              *
            • *
            • *

              * 40 and 100 Gbps- Uplinks available: 1, 2, 4 *

              *
            • * @see UplinkCount */ public final String uplinkCountAsString() { return uplinkCount; } /** *

              * Specify the type of fiber that you will use to attach the Outpost to your network. *

              *

              * If the service returns an enum value that is not available in the current SDK version, * {@link #fiberOpticCableType} will return {@link FiberOpticCableType#UNKNOWN_TO_SDK_VERSION}. The raw value * returned by the service is available from {@link #fiberOpticCableTypeAsString}. *

              * * @return Specify the type of fiber that you will use to attach the Outpost to your network. * @see FiberOpticCableType */ public final FiberOpticCableType fiberOpticCableType() { return FiberOpticCableType.fromValue(fiberOpticCableType); } /** *

              * Specify the type of fiber that you will use to attach the Outpost to your network. *

              *

              * If the service returns an enum value that is not available in the current SDK version, * {@link #fiberOpticCableType} will return {@link FiberOpticCableType#UNKNOWN_TO_SDK_VERSION}. The raw value * returned by the service is available from {@link #fiberOpticCableTypeAsString}. *

              * * @return Specify the type of fiber that you will use to attach the Outpost to your network. * @see FiberOpticCableType */ public final String fiberOpticCableTypeAsString() { return fiberOpticCableType; } /** *

              * Specify the type of optical standard that you will use to attach the Outpost to your network. This field is * dependent on uplink speed, fiber type, and distance to the upstream device. For more information about networking * requirements for racks, see Network in the Amazon Web Services Outposts User Guide. *

              *
                *
              • *

                * OPTIC_10GBASE_SR: 10GBASE-SR *

                *
              • *
              • *

                * OPTIC_10GBASE_IR: 10GBASE-IR *

                *
              • *
              • *

                * OPTIC_10GBASE_LR: 10GBASE-LR *

                *
              • *
              • *

                * OPTIC_40GBASE_SR: 40GBASE-SR *

                *
              • *
              • *

                * OPTIC_40GBASE_ESR: 40GBASE-ESR *

                *
              • *
              • *

                * OPTIC_40GBASE_IR4_LR4L: 40GBASE-IR (LR4L) *

                *
              • *
              • *

                * OPTIC_40GBASE_LR4: 40GBASE-LR4 *

                *
              • *
              • *

                * OPTIC_100GBASE_SR4: 100GBASE-SR4 *

                *
              • *
              • *

                * OPTIC_100GBASE_CWDM4: 100GBASE-CWDM4 *

                *
              • *
              • *

                * OPTIC_100GBASE_LR4: 100GBASE-LR4 *

                *
              • *
              • *

                * OPTIC_100G_PSM4_MSA: 100G PSM4 MSA *

                *
              • *
              • *

                * OPTIC_1000BASE_LX: 1000Base-LX *

                *
              • *
              • *

                * OPTIC_1000BASE_SX : 1000Base-SX *

                *
              • *
              *

              * If the service returns an enum value that is not available in the current SDK version, {@link #opticalStandard} * will return {@link OpticalStandard#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available * from {@link #opticalStandardAsString}. *

              * * @return Specify the type of optical standard that you will use to attach the Outpost to your network. This field * is dependent on uplink speed, fiber type, and distance to the upstream device. For more information about * networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide.

              *
                *
              • *

                * OPTIC_10GBASE_SR: 10GBASE-SR *

                *
              • *
              • *

                * OPTIC_10GBASE_IR: 10GBASE-IR *

                *
              • *
              • *

                * OPTIC_10GBASE_LR: 10GBASE-LR *

                *
              • *
              • *

                * OPTIC_40GBASE_SR: 40GBASE-SR *

                *
              • *
              • *

                * OPTIC_40GBASE_ESR: 40GBASE-ESR *

                *
              • *
              • *

                * OPTIC_40GBASE_IR4_LR4L: 40GBASE-IR (LR4L) *

                *
              • *
              • *

                * OPTIC_40GBASE_LR4: 40GBASE-LR4 *

                *
              • *
              • *

                * OPTIC_100GBASE_SR4: 100GBASE-SR4 *

                *
              • *
              • *

                * OPTIC_100GBASE_CWDM4: 100GBASE-CWDM4 *

                *
              • *
              • *

                * OPTIC_100GBASE_LR4: 100GBASE-LR4 *

                *
              • *
              • *

                * OPTIC_100G_PSM4_MSA: 100G PSM4 MSA *

                *
              • *
              • *

                * OPTIC_1000BASE_LX: 1000Base-LX *

                *
              • *
              • *

                * OPTIC_1000BASE_SX : 1000Base-SX *

                *
              • * @see OpticalStandard */ public final OpticalStandard opticalStandard() { return OpticalStandard.fromValue(opticalStandard); } /** *

                * Specify the type of optical standard that you will use to attach the Outpost to your network. This field is * dependent on uplink speed, fiber type, and distance to the upstream device. For more information about networking * requirements for racks, see Network in the Amazon Web Services Outposts User Guide. *

                *
                  *
                • *

                  * OPTIC_10GBASE_SR: 10GBASE-SR *

                  *
                • *
                • *

                  * OPTIC_10GBASE_IR: 10GBASE-IR *

                  *
                • *
                • *

                  * OPTIC_10GBASE_LR: 10GBASE-LR *

                  *
                • *
                • *

                  * OPTIC_40GBASE_SR: 40GBASE-SR *

                  *
                • *
                • *

                  * OPTIC_40GBASE_ESR: 40GBASE-ESR *

                  *
                • *
                • *

                  * OPTIC_40GBASE_IR4_LR4L: 40GBASE-IR (LR4L) *

                  *
                • *
                • *

                  * OPTIC_40GBASE_LR4: 40GBASE-LR4 *

                  *
                • *
                • *

                  * OPTIC_100GBASE_SR4: 100GBASE-SR4 *

                  *
                • *
                • *

                  * OPTIC_100GBASE_CWDM4: 100GBASE-CWDM4 *

                  *
                • *
                • *

                  * OPTIC_100GBASE_LR4: 100GBASE-LR4 *

                  *
                • *
                • *

                  * OPTIC_100G_PSM4_MSA: 100G PSM4 MSA *

                  *
                • *
                • *

                  * OPTIC_1000BASE_LX: 1000Base-LX *

                  *
                • *
                • *

                  * OPTIC_1000BASE_SX : 1000Base-SX *

                  *
                • *
                *

                * If the service returns an enum value that is not available in the current SDK version, {@link #opticalStandard} * will return {@link OpticalStandard#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available * from {@link #opticalStandardAsString}. *

                * * @return Specify the type of optical standard that you will use to attach the Outpost to your network. This field * is dependent on uplink speed, fiber type, and distance to the upstream device. For more information about * networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide.

                *
                  *
                • *

                  * OPTIC_10GBASE_SR: 10GBASE-SR *

                  *
                • *
                • *

                  * OPTIC_10GBASE_IR: 10GBASE-IR *

                  *
                • *
                • *

                  * OPTIC_10GBASE_LR: 10GBASE-LR *

                  *
                • *
                • *

                  * OPTIC_40GBASE_SR: 40GBASE-SR *

                  *
                • *
                • *

                  * OPTIC_40GBASE_ESR: 40GBASE-ESR *

                  *
                • *
                • *

                  * OPTIC_40GBASE_IR4_LR4L: 40GBASE-IR (LR4L) *

                  *
                • *
                • *

                  * OPTIC_40GBASE_LR4: 40GBASE-LR4 *

                  *
                • *
                • *

                  * OPTIC_100GBASE_SR4: 100GBASE-SR4 *

                  *
                • *
                • *

                  * OPTIC_100GBASE_CWDM4: 100GBASE-CWDM4 *

                  *
                • *
                • *

                  * OPTIC_100GBASE_LR4: 100GBASE-LR4 *

                  *
                • *
                • *

                  * OPTIC_100G_PSM4_MSA: 100G PSM4 MSA *

                  *
                • *
                • *

                  * OPTIC_1000BASE_LX: 1000Base-LX *

                  *
                • *
                • *

                  * OPTIC_1000BASE_SX : 1000Base-SX *

                  *
                • * @see OpticalStandard */ public final String opticalStandardAsString() { return opticalStandard; } /** *

                  * Specify the maximum rack weight that this site can support. NO_LIMIT is over 2000lbs. *

                  *

                  * If the service returns an enum value that is not available in the current SDK version, * {@link #maximumSupportedWeightLbs} will return {@link MaximumSupportedWeightLbs#UNKNOWN_TO_SDK_VERSION}. The raw * value returned by the service is available from {@link #maximumSupportedWeightLbsAsString}. *

                  * * @return Specify the maximum rack weight that this site can support. NO_LIMIT is over 2000lbs. * @see MaximumSupportedWeightLbs */ public final MaximumSupportedWeightLbs maximumSupportedWeightLbs() { return MaximumSupportedWeightLbs.fromValue(maximumSupportedWeightLbs); } /** *

                  * Specify the maximum rack weight that this site can support. NO_LIMIT is over 2000lbs. *

                  *

                  * If the service returns an enum value that is not available in the current SDK version, * {@link #maximumSupportedWeightLbs} will return {@link MaximumSupportedWeightLbs#UNKNOWN_TO_SDK_VERSION}. The raw * value returned by the service is available from {@link #maximumSupportedWeightLbsAsString}. *

                  * * @return Specify the maximum rack weight that this site can support. NO_LIMIT is over 2000lbs. * @see MaximumSupportedWeightLbs */ public final String maximumSupportedWeightLbsAsString() { return maximumSupportedWeightLbs; } @Override public Builder toBuilder() { return new BuilderImpl(this); } public static Builder builder() { return new BuilderImpl(); } public static Class serializableBuilderClass() { return BuilderImpl.class; } @Override public final int hashCode() { int hashCode = 1; hashCode = 31 * hashCode + super.hashCode(); hashCode = 31 * hashCode + Objects.hashCode(siteId()); hashCode = 31 * hashCode + Objects.hashCode(powerDrawKvaAsString()); hashCode = 31 * hashCode + Objects.hashCode(powerPhaseAsString()); hashCode = 31 * hashCode + Objects.hashCode(powerConnectorAsString()); hashCode = 31 * hashCode + Objects.hashCode(powerFeedDropAsString()); hashCode = 31 * hashCode + Objects.hashCode(uplinkGbpsAsString()); hashCode = 31 * hashCode + Objects.hashCode(uplinkCountAsString()); hashCode = 31 * hashCode + Objects.hashCode(fiberOpticCableTypeAsString()); hashCode = 31 * hashCode + Objects.hashCode(opticalStandardAsString()); hashCode = 31 * hashCode + Objects.hashCode(maximumSupportedWeightLbsAsString()); return hashCode; } @Override public final boolean equals(Object obj) { return super.equals(obj) && equalsBySdkFields(obj); } @Override public final boolean equalsBySdkFields(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (!(obj instanceof UpdateSiteRackPhysicalPropertiesRequest)) { return false; } UpdateSiteRackPhysicalPropertiesRequest other = (UpdateSiteRackPhysicalPropertiesRequest) obj; return Objects.equals(siteId(), other.siteId()) && Objects.equals(powerDrawKvaAsString(), other.powerDrawKvaAsString()) && Objects.equals(powerPhaseAsString(), other.powerPhaseAsString()) && Objects.equals(powerConnectorAsString(), other.powerConnectorAsString()) && Objects.equals(powerFeedDropAsString(), other.powerFeedDropAsString()) && Objects.equals(uplinkGbpsAsString(), other.uplinkGbpsAsString()) && Objects.equals(uplinkCountAsString(), other.uplinkCountAsString()) && Objects.equals(fiberOpticCableTypeAsString(), other.fiberOpticCableTypeAsString()) && Objects.equals(opticalStandardAsString(), other.opticalStandardAsString()) && Objects.equals(maximumSupportedWeightLbsAsString(), other.maximumSupportedWeightLbsAsString()); } /** * 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. */ @Override public final String toString() { return ToString.builder("UpdateSiteRackPhysicalPropertiesRequest").add("SiteId", siteId()) .add("PowerDrawKva", powerDrawKvaAsString()).add("PowerPhase", powerPhaseAsString()) .add("PowerConnector", powerConnectorAsString()).add("PowerFeedDrop", powerFeedDropAsString()) .add("UplinkGbps", uplinkGbpsAsString()).add("UplinkCount", uplinkCountAsString()) .add("FiberOpticCableType", fiberOpticCableTypeAsString()).add("OpticalStandard", opticalStandardAsString()) .add("MaximumSupportedWeightLbs", maximumSupportedWeightLbsAsString()).build(); } public final Optional getValueForField(String fieldName, Class clazz) { switch (fieldName) { case "SiteId": return Optional.ofNullable(clazz.cast(siteId())); case "PowerDrawKva": return Optional.ofNullable(clazz.cast(powerDrawKvaAsString())); case "PowerPhase": return Optional.ofNullable(clazz.cast(powerPhaseAsString())); case "PowerConnector": return Optional.ofNullable(clazz.cast(powerConnectorAsString())); case "PowerFeedDrop": return Optional.ofNullable(clazz.cast(powerFeedDropAsString())); case "UplinkGbps": return Optional.ofNullable(clazz.cast(uplinkGbpsAsString())); case "UplinkCount": return Optional.ofNullable(clazz.cast(uplinkCountAsString())); case "FiberOpticCableType": return Optional.ofNullable(clazz.cast(fiberOpticCableTypeAsString())); case "OpticalStandard": return Optional.ofNullable(clazz.cast(opticalStandardAsString())); case "MaximumSupportedWeightLbs": return Optional.ofNullable(clazz.cast(maximumSupportedWeightLbsAsString())); default: return Optional.empty(); } } @Override public final List> sdkFields() { return SDK_FIELDS; } private static Function getter(Function g) { return obj -> g.apply((UpdateSiteRackPhysicalPropertiesRequest) obj); } private static BiConsumer setter(BiConsumer s) { return (obj, val) -> s.accept((Builder) obj, val); } public interface Builder extends OutpostsRequest.Builder, SdkPojo, CopyableBuilder { /** *

                  * The ID or the Amazon Resource Name (ARN) of the site. *

                  * * @param siteId * The ID or the Amazon Resource Name (ARN) of the site. * @return Returns a reference to this object so that method calls can be chained together. */ Builder siteId(String siteId); /** *

                  * Specify in kVA the power draw available at the hardware placement position for the rack. *

                  * * @param powerDrawKva * Specify in kVA the power draw available at the hardware placement position for the rack. * @see PowerDrawKva * @return Returns a reference to this object so that method calls can be chained together. * @see PowerDrawKva */ Builder powerDrawKva(String powerDrawKva); /** *

                  * Specify in kVA the power draw available at the hardware placement position for the rack. *

                  * * @param powerDrawKva * Specify in kVA the power draw available at the hardware placement position for the rack. * @see PowerDrawKva * @return Returns a reference to this object so that method calls can be chained together. * @see PowerDrawKva */ Builder powerDrawKva(PowerDrawKva powerDrawKva); /** *

                  * Specify the power option that you can provide for hardware. *

                  *
                    *
                  • *

                    * Single-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz *

                    *
                  • *
                  • *

                    * Three-phase AC feed: 346 V to 480 V, 50 Hz or 60 Hz *

                    *
                  • *
                  * * @param powerPhase * Specify the power option that you can provide for hardware.

                  *
                    *
                  • *

                    * Single-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz *

                    *
                  • *
                  • *

                    * Three-phase AC feed: 346 V to 480 V, 50 Hz or 60 Hz *

                    *
                  • * @see PowerPhase * @return Returns a reference to this object so that method calls can be chained together. * @see PowerPhase */ Builder powerPhase(String powerPhase); /** *

                    * Specify the power option that you can provide for hardware. *

                    *
                      *
                    • *

                      * Single-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz *

                      *
                    • *
                    • *

                      * Three-phase AC feed: 346 V to 480 V, 50 Hz or 60 Hz *

                      *
                    • *
                    * * @param powerPhase * Specify the power option that you can provide for hardware.

                    *
                      *
                    • *

                      * Single-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz *

                      *
                    • *
                    • *

                      * Three-phase AC feed: 346 V to 480 V, 50 Hz or 60 Hz *

                      *
                    • * @see PowerPhase * @return Returns a reference to this object so that method calls can be chained together. * @see PowerPhase */ Builder powerPhase(PowerPhase powerPhase); /** *

                      * Specify the power connector that Amazon Web Services should plan to provide for connections to the hardware. * Note the correlation between PowerPhase and PowerConnector. *

                      *
                        *
                      • *

                        * Single-phase AC feed *

                        *
                          *
                        • *

                          * L6-30P – (common in US); 30A; single phase *

                          *
                        • *
                        • *

                          * IEC309 (blue) – P+N+E, 6hr; 32 A; single phase *

                          *
                        • *
                        *
                      • *
                      • *

                        * Three-phase AC feed *

                        *
                          *
                        • *

                          * AH530P7W (red) – 3P+N+E, 7hr; 30A; three phase *

                          *
                        • *
                        • *

                          * AH532P6W (red) – 3P+N+E, 6hr; 32A; three phase *

                          *
                        • *
                        *
                      • *
                      * * @param powerConnector * Specify the power connector that Amazon Web Services should plan to provide for connections to the * hardware. Note the correlation between PowerPhase and PowerConnector.

                      *
                        *
                      • *

                        * Single-phase AC feed *

                        *
                          *
                        • *

                          * L6-30P – (common in US); 30A; single phase *

                          *
                        • *
                        • *

                          * IEC309 (blue) – P+N+E, 6hr; 32 A; single phase *

                          *
                        • *
                        *
                      • *
                      • *

                        * Three-phase AC feed *

                        *
                          *
                        • *

                          * AH530P7W (red) – 3P+N+E, 7hr; 30A; three phase *

                          *
                        • *
                        • *

                          * AH532P6W (red) – 3P+N+E, 6hr; 32A; three phase *

                          *
                        • *
                        *
                      • * @see PowerConnector * @return Returns a reference to this object so that method calls can be chained together. * @see PowerConnector */ Builder powerConnector(String powerConnector); /** *

                        * Specify the power connector that Amazon Web Services should plan to provide for connections to the hardware. * Note the correlation between PowerPhase and PowerConnector. *

                        *
                          *
                        • *

                          * Single-phase AC feed *

                          *
                            *
                          • *

                            * L6-30P – (common in US); 30A; single phase *

                            *
                          • *
                          • *

                            * IEC309 (blue) – P+N+E, 6hr; 32 A; single phase *

                            *
                          • *
                          *
                        • *
                        • *

                          * Three-phase AC feed *

                          *
                            *
                          • *

                            * AH530P7W (red) – 3P+N+E, 7hr; 30A; three phase *

                            *
                          • *
                          • *

                            * AH532P6W (red) – 3P+N+E, 6hr; 32A; three phase *

                            *
                          • *
                          *
                        • *
                        * * @param powerConnector * Specify the power connector that Amazon Web Services should plan to provide for connections to the * hardware. Note the correlation between PowerPhase and PowerConnector.

                        *
                          *
                        • *

                          * Single-phase AC feed *

                          *
                            *
                          • *

                            * L6-30P – (common in US); 30A; single phase *

                            *
                          • *
                          • *

                            * IEC309 (blue) – P+N+E, 6hr; 32 A; single phase *

                            *
                          • *
                          *
                        • *
                        • *

                          * Three-phase AC feed *

                          *
                            *
                          • *

                            * AH530P7W (red) – 3P+N+E, 7hr; 30A; three phase *

                            *
                          • *
                          • *

                            * AH532P6W (red) – 3P+N+E, 6hr; 32A; three phase *

                            *
                          • *
                          *
                        • * @see PowerConnector * @return Returns a reference to this object so that method calls can be chained together. * @see PowerConnector */ Builder powerConnector(PowerConnector powerConnector); /** *

                          * Specify whether the power feed comes above or below the rack. *

                          * * @param powerFeedDrop * Specify whether the power feed comes above or below the rack. * @see PowerFeedDrop * @return Returns a reference to this object so that method calls can be chained together. * @see PowerFeedDrop */ Builder powerFeedDrop(String powerFeedDrop); /** *

                          * Specify whether the power feed comes above or below the rack. *

                          * * @param powerFeedDrop * Specify whether the power feed comes above or below the rack. * @see PowerFeedDrop * @return Returns a reference to this object so that method calls can be chained together. * @see PowerFeedDrop */ Builder powerFeedDrop(PowerFeedDrop powerFeedDrop); /** *

                          * Specify the uplink speed the rack should support for the connection to the Region. *

                          * * @param uplinkGbps * Specify the uplink speed the rack should support for the connection to the Region. * @see UplinkGbps * @return Returns a reference to this object so that method calls can be chained together. * @see UplinkGbps */ Builder uplinkGbps(String uplinkGbps); /** *

                          * Specify the uplink speed the rack should support for the connection to the Region. *

                          * * @param uplinkGbps * Specify the uplink speed the rack should support for the connection to the Region. * @see UplinkGbps * @return Returns a reference to this object so that method calls can be chained together. * @see UplinkGbps */ Builder uplinkGbps(UplinkGbps uplinkGbps); /** *

                          * Racks come with two Outpost network devices. Depending on the supported uplink speed at the site, the Outpost * network devices provide a variable number of uplinks. Specify the number of uplinks for each Outpost network * device that you intend to use to connect the rack to your network. Note the correlation between * UplinkGbps and UplinkCount. *

                          *
                            *
                          • *

                            * 1Gbps - Uplinks available: 1, 2, 4, 6, 8 *

                            *
                          • *
                          • *

                            * 10Gbps - Uplinks available: 1, 2, 4, 8, 12, 16 *

                            *
                          • *
                          • *

                            * 40 and 100 Gbps- Uplinks available: 1, 2, 4 *

                            *
                          • *
                          * * @param uplinkCount * Racks come with two Outpost network devices. Depending on the supported uplink speed at the site, the * Outpost network devices provide a variable number of uplinks. Specify the number of uplinks for each * Outpost network device that you intend to use to connect the rack to your network. Note the * correlation between UplinkGbps and UplinkCount.

                          *
                            *
                          • *

                            * 1Gbps - Uplinks available: 1, 2, 4, 6, 8 *

                            *
                          • *
                          • *

                            * 10Gbps - Uplinks available: 1, 2, 4, 8, 12, 16 *

                            *
                          • *
                          • *

                            * 40 and 100 Gbps- Uplinks available: 1, 2, 4 *

                            *
                          • * @see UplinkCount * @return Returns a reference to this object so that method calls can be chained together. * @see UplinkCount */ Builder uplinkCount(String uplinkCount); /** *

                            * Racks come with two Outpost network devices. Depending on the supported uplink speed at the site, the Outpost * network devices provide a variable number of uplinks. Specify the number of uplinks for each Outpost network * device that you intend to use to connect the rack to your network. Note the correlation between * UplinkGbps and UplinkCount. *

                            *
                              *
                            • *

                              * 1Gbps - Uplinks available: 1, 2, 4, 6, 8 *

                              *
                            • *
                            • *

                              * 10Gbps - Uplinks available: 1, 2, 4, 8, 12, 16 *

                              *
                            • *
                            • *

                              * 40 and 100 Gbps- Uplinks available: 1, 2, 4 *

                              *
                            • *
                            * * @param uplinkCount * Racks come with two Outpost network devices. Depending on the supported uplink speed at the site, the * Outpost network devices provide a variable number of uplinks. Specify the number of uplinks for each * Outpost network device that you intend to use to connect the rack to your network. Note the * correlation between UplinkGbps and UplinkCount.

                            *
                              *
                            • *

                              * 1Gbps - Uplinks available: 1, 2, 4, 6, 8 *

                              *
                            • *
                            • *

                              * 10Gbps - Uplinks available: 1, 2, 4, 8, 12, 16 *

                              *
                            • *
                            • *

                              * 40 and 100 Gbps- Uplinks available: 1, 2, 4 *

                              *
                            • * @see UplinkCount * @return Returns a reference to this object so that method calls can be chained together. * @see UplinkCount */ Builder uplinkCount(UplinkCount uplinkCount); /** *

                              * Specify the type of fiber that you will use to attach the Outpost to your network. *

                              * * @param fiberOpticCableType * Specify the type of fiber that you will use to attach the Outpost to your network. * @see FiberOpticCableType * @return Returns a reference to this object so that method calls can be chained together. * @see FiberOpticCableType */ Builder fiberOpticCableType(String fiberOpticCableType); /** *

                              * Specify the type of fiber that you will use to attach the Outpost to your network. *

                              * * @param fiberOpticCableType * Specify the type of fiber that you will use to attach the Outpost to your network. * @see FiberOpticCableType * @return Returns a reference to this object so that method calls can be chained together. * @see FiberOpticCableType */ Builder fiberOpticCableType(FiberOpticCableType fiberOpticCableType); /** *

                              * Specify the type of optical standard that you will use to attach the Outpost to your network. This field is * dependent on uplink speed, fiber type, and distance to the upstream device. For more information about * networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide. *

                              *
                                *
                              • *

                                * OPTIC_10GBASE_SR: 10GBASE-SR *

                                *
                              • *
                              • *

                                * OPTIC_10GBASE_IR: 10GBASE-IR *

                                *
                              • *
                              • *

                                * OPTIC_10GBASE_LR: 10GBASE-LR *

                                *
                              • *
                              • *

                                * OPTIC_40GBASE_SR: 40GBASE-SR *

                                *
                              • *
                              • *

                                * OPTIC_40GBASE_ESR: 40GBASE-ESR *

                                *
                              • *
                              • *

                                * OPTIC_40GBASE_IR4_LR4L: 40GBASE-IR (LR4L) *

                                *
                              • *
                              • *

                                * OPTIC_40GBASE_LR4: 40GBASE-LR4 *

                                *
                              • *
                              • *

                                * OPTIC_100GBASE_SR4: 100GBASE-SR4 *

                                *
                              • *
                              • *

                                * OPTIC_100GBASE_CWDM4: 100GBASE-CWDM4 *

                                *
                              • *
                              • *

                                * OPTIC_100GBASE_LR4: 100GBASE-LR4 *

                                *
                              • *
                              • *

                                * OPTIC_100G_PSM4_MSA: 100G PSM4 MSA *

                                *
                              • *
                              • *

                                * OPTIC_1000BASE_LX: 1000Base-LX *

                                *
                              • *
                              • *

                                * OPTIC_1000BASE_SX : 1000Base-SX *

                                *
                              • *
                              * * @param opticalStandard * Specify the type of optical standard that you will use to attach the Outpost to your network. This * field is dependent on uplink speed, fiber type, and distance to the upstream device. For more * information about networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide.

                              *
                                *
                              • *

                                * OPTIC_10GBASE_SR: 10GBASE-SR *

                                *
                              • *
                              • *

                                * OPTIC_10GBASE_IR: 10GBASE-IR *

                                *
                              • *
                              • *

                                * OPTIC_10GBASE_LR: 10GBASE-LR *

                                *
                              • *
                              • *

                                * OPTIC_40GBASE_SR: 40GBASE-SR *

                                *
                              • *
                              • *

                                * OPTIC_40GBASE_ESR: 40GBASE-ESR *

                                *
                              • *
                              • *

                                * OPTIC_40GBASE_IR4_LR4L: 40GBASE-IR (LR4L) *

                                *
                              • *
                              • *

                                * OPTIC_40GBASE_LR4: 40GBASE-LR4 *

                                *
                              • *
                              • *

                                * OPTIC_100GBASE_SR4: 100GBASE-SR4 *

                                *
                              • *
                              • *

                                * OPTIC_100GBASE_CWDM4: 100GBASE-CWDM4 *

                                *
                              • *
                              • *

                                * OPTIC_100GBASE_LR4: 100GBASE-LR4 *

                                *
                              • *
                              • *

                                * OPTIC_100G_PSM4_MSA: 100G PSM4 MSA *

                                *
                              • *
                              • *

                                * OPTIC_1000BASE_LX: 1000Base-LX *

                                *
                              • *
                              • *

                                * OPTIC_1000BASE_SX : 1000Base-SX *

                                *
                              • * @see OpticalStandard * @return Returns a reference to this object so that method calls can be chained together. * @see OpticalStandard */ Builder opticalStandard(String opticalStandard); /** *

                                * Specify the type of optical standard that you will use to attach the Outpost to your network. This field is * dependent on uplink speed, fiber type, and distance to the upstream device. For more information about * networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide. *

                                *
                                  *
                                • *

                                  * OPTIC_10GBASE_SR: 10GBASE-SR *

                                  *
                                • *
                                • *

                                  * OPTIC_10GBASE_IR: 10GBASE-IR *

                                  *
                                • *
                                • *

                                  * OPTIC_10GBASE_LR: 10GBASE-LR *

                                  *
                                • *
                                • *

                                  * OPTIC_40GBASE_SR: 40GBASE-SR *

                                  *
                                • *
                                • *

                                  * OPTIC_40GBASE_ESR: 40GBASE-ESR *

                                  *
                                • *
                                • *

                                  * OPTIC_40GBASE_IR4_LR4L: 40GBASE-IR (LR4L) *

                                  *
                                • *
                                • *

                                  * OPTIC_40GBASE_LR4: 40GBASE-LR4 *

                                  *
                                • *
                                • *

                                  * OPTIC_100GBASE_SR4: 100GBASE-SR4 *

                                  *
                                • *
                                • *

                                  * OPTIC_100GBASE_CWDM4: 100GBASE-CWDM4 *

                                  *
                                • *
                                • *

                                  * OPTIC_100GBASE_LR4: 100GBASE-LR4 *

                                  *
                                • *
                                • *

                                  * OPTIC_100G_PSM4_MSA: 100G PSM4 MSA *

                                  *
                                • *
                                • *

                                  * OPTIC_1000BASE_LX: 1000Base-LX *

                                  *
                                • *
                                • *

                                  * OPTIC_1000BASE_SX : 1000Base-SX *

                                  *
                                • *
                                * * @param opticalStandard * Specify the type of optical standard that you will use to attach the Outpost to your network. This * field is dependent on uplink speed, fiber type, and distance to the upstream device. For more * information about networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide.

                                *
                                  *
                                • *

                                  * OPTIC_10GBASE_SR: 10GBASE-SR *

                                  *
                                • *
                                • *

                                  * OPTIC_10GBASE_IR: 10GBASE-IR *

                                  *
                                • *
                                • *

                                  * OPTIC_10GBASE_LR: 10GBASE-LR *

                                  *
                                • *
                                • *

                                  * OPTIC_40GBASE_SR: 40GBASE-SR *

                                  *
                                • *
                                • *

                                  * OPTIC_40GBASE_ESR: 40GBASE-ESR *

                                  *
                                • *
                                • *

                                  * OPTIC_40GBASE_IR4_LR4L: 40GBASE-IR (LR4L) *

                                  *
                                • *
                                • *

                                  * OPTIC_40GBASE_LR4: 40GBASE-LR4 *

                                  *
                                • *
                                • *

                                  * OPTIC_100GBASE_SR4: 100GBASE-SR4 *

                                  *
                                • *
                                • *

                                  * OPTIC_100GBASE_CWDM4: 100GBASE-CWDM4 *

                                  *
                                • *
                                • *

                                  * OPTIC_100GBASE_LR4: 100GBASE-LR4 *

                                  *
                                • *
                                • *

                                  * OPTIC_100G_PSM4_MSA: 100G PSM4 MSA *

                                  *
                                • *
                                • *

                                  * OPTIC_1000BASE_LX: 1000Base-LX *

                                  *
                                • *
                                • *

                                  * OPTIC_1000BASE_SX : 1000Base-SX *

                                  *
                                • * @see OpticalStandard * @return Returns a reference to this object so that method calls can be chained together. * @see OpticalStandard */ Builder opticalStandard(OpticalStandard opticalStandard); /** *

                                  * Specify the maximum rack weight that this site can support. NO_LIMIT is over 2000lbs. *

                                  * * @param maximumSupportedWeightLbs * Specify the maximum rack weight that this site can support. NO_LIMIT is over 2000lbs. * @see MaximumSupportedWeightLbs * @return Returns a reference to this object so that method calls can be chained together. * @see MaximumSupportedWeightLbs */ Builder maximumSupportedWeightLbs(String maximumSupportedWeightLbs); /** *

                                  * Specify the maximum rack weight that this site can support. NO_LIMIT is over 2000lbs. *

                                  * * @param maximumSupportedWeightLbs * Specify the maximum rack weight that this site can support. NO_LIMIT is over 2000lbs. * @see MaximumSupportedWeightLbs * @return Returns a reference to this object so that method calls can be chained together. * @see MaximumSupportedWeightLbs */ Builder maximumSupportedWeightLbs(MaximumSupportedWeightLbs maximumSupportedWeightLbs); @Override Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration); @Override Builder overrideConfiguration(Consumer builderConsumer); } static final class BuilderImpl extends OutpostsRequest.BuilderImpl implements Builder { private String siteId; private String powerDrawKva; private String powerPhase; private String powerConnector; private String powerFeedDrop; private String uplinkGbps; private String uplinkCount; private String fiberOpticCableType; private String opticalStandard; private String maximumSupportedWeightLbs; private BuilderImpl() { } private BuilderImpl(UpdateSiteRackPhysicalPropertiesRequest model) { super(model); siteId(model.siteId); powerDrawKva(model.powerDrawKva); powerPhase(model.powerPhase); powerConnector(model.powerConnector); powerFeedDrop(model.powerFeedDrop); uplinkGbps(model.uplinkGbps); uplinkCount(model.uplinkCount); fiberOpticCableType(model.fiberOpticCableType); opticalStandard(model.opticalStandard); maximumSupportedWeightLbs(model.maximumSupportedWeightLbs); } public final String getSiteId() { return siteId; } public final void setSiteId(String siteId) { this.siteId = siteId; } @Override @Transient public final Builder siteId(String siteId) { this.siteId = siteId; return this; } public final String getPowerDrawKva() { return powerDrawKva; } public final void setPowerDrawKva(String powerDrawKva) { this.powerDrawKva = powerDrawKva; } @Override @Transient public final Builder powerDrawKva(String powerDrawKva) { this.powerDrawKva = powerDrawKva; return this; } @Override @Transient public final Builder powerDrawKva(PowerDrawKva powerDrawKva) { this.powerDrawKva(powerDrawKva == null ? null : powerDrawKva.toString()); return this; } public final String getPowerPhase() { return powerPhase; } public final void setPowerPhase(String powerPhase) { this.powerPhase = powerPhase; } @Override @Transient public final Builder powerPhase(String powerPhase) { this.powerPhase = powerPhase; return this; } @Override @Transient public final Builder powerPhase(PowerPhase powerPhase) { this.powerPhase(powerPhase == null ? null : powerPhase.toString()); return this; } public final String getPowerConnector() { return powerConnector; } public final void setPowerConnector(String powerConnector) { this.powerConnector = powerConnector; } @Override @Transient public final Builder powerConnector(String powerConnector) { this.powerConnector = powerConnector; return this; } @Override @Transient public final Builder powerConnector(PowerConnector powerConnector) { this.powerConnector(powerConnector == null ? null : powerConnector.toString()); return this; } public final String getPowerFeedDrop() { return powerFeedDrop; } public final void setPowerFeedDrop(String powerFeedDrop) { this.powerFeedDrop = powerFeedDrop; } @Override @Transient public final Builder powerFeedDrop(String powerFeedDrop) { this.powerFeedDrop = powerFeedDrop; return this; } @Override @Transient public final Builder powerFeedDrop(PowerFeedDrop powerFeedDrop) { this.powerFeedDrop(powerFeedDrop == null ? null : powerFeedDrop.toString()); return this; } public final String getUplinkGbps() { return uplinkGbps; } public final void setUplinkGbps(String uplinkGbps) { this.uplinkGbps = uplinkGbps; } @Override @Transient public final Builder uplinkGbps(String uplinkGbps) { this.uplinkGbps = uplinkGbps; return this; } @Override @Transient public final Builder uplinkGbps(UplinkGbps uplinkGbps) { this.uplinkGbps(uplinkGbps == null ? null : uplinkGbps.toString()); return this; } public final String getUplinkCount() { return uplinkCount; } public final void setUplinkCount(String uplinkCount) { this.uplinkCount = uplinkCount; } @Override @Transient public final Builder uplinkCount(String uplinkCount) { this.uplinkCount = uplinkCount; return this; } @Override @Transient public final Builder uplinkCount(UplinkCount uplinkCount) { this.uplinkCount(uplinkCount == null ? null : uplinkCount.toString()); return this; } public final String getFiberOpticCableType() { return fiberOpticCableType; } public final void setFiberOpticCableType(String fiberOpticCableType) { this.fiberOpticCableType = fiberOpticCableType; } @Override @Transient public final Builder fiberOpticCableType(String fiberOpticCableType) { this.fiberOpticCableType = fiberOpticCableType; return this; } @Override @Transient public final Builder fiberOpticCableType(FiberOpticCableType fiberOpticCableType) { this.fiberOpticCableType(fiberOpticCableType == null ? null : fiberOpticCableType.toString()); return this; } public final String getOpticalStandard() { return opticalStandard; } public final void setOpticalStandard(String opticalStandard) { this.opticalStandard = opticalStandard; } @Override @Transient public final Builder opticalStandard(String opticalStandard) { this.opticalStandard = opticalStandard; return this; } @Override @Transient public final Builder opticalStandard(OpticalStandard opticalStandard) { this.opticalStandard(opticalStandard == null ? null : opticalStandard.toString()); return this; } public final String getMaximumSupportedWeightLbs() { return maximumSupportedWeightLbs; } public final void setMaximumSupportedWeightLbs(String maximumSupportedWeightLbs) { this.maximumSupportedWeightLbs = maximumSupportedWeightLbs; } @Override @Transient public final Builder maximumSupportedWeightLbs(String maximumSupportedWeightLbs) { this.maximumSupportedWeightLbs = maximumSupportedWeightLbs; return this; } @Override @Transient public final Builder maximumSupportedWeightLbs(MaximumSupportedWeightLbs maximumSupportedWeightLbs) { this.maximumSupportedWeightLbs(maximumSupportedWeightLbs == null ? null : maximumSupportedWeightLbs.toString()); return this; } @Override public Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) { super.overrideConfiguration(overrideConfiguration); return this; } @Override public Builder overrideConfiguration(Consumer builderConsumer) { super.overrideConfiguration(builderConsumer); return this; } @Override public UpdateSiteRackPhysicalPropertiesRequest build() { return new UpdateSiteRackPhysicalPropertiesRequest(this); } @Override public List> sdkFields() { return SDK_FIELDS; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy