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

com.amazonaws.services.codebuild.model.CreateFleetRequest Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.772
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.codebuild.model;

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

import com.amazonaws.AmazonWebServiceRequest;

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

    /**
     * 

* The name of the compute fleet. *

*/ private String name; /** *

* The initial number of machines allocated to the fleet, which defines the number of builds that can run in parallel. *

*/ private Integer baseCapacity; /** *

* The environment type of the compute fleet. *

*
    *
  • *

    * The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), * Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). *

    *
  • *
  • *

    * The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia * Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). *

    *
  • *
  • *

    * The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) * and EU (Ireland). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific * (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). *

    *
  • *
*

* For more information, see Build environment * compute types in the CodeBuild user guide. *

*/ private String environmentType; /** *

* Information about the compute resources the compute fleet uses. Available values include: *

*
    *
  • *

    * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment * type. *

    *
  • *
  • *

    * BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment * type. *

    *
  • *
  • *

    * BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. * This compute type supports Docker images up to 100 GB uncompressed. *

    *
  • *
*

* If you use BUILD_GENERAL1_SMALL: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G * Tensor Core GPU for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 4 GB memory and 2 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* If you use BUILD_GENERAL1_LARGE: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA * Tesla V100 GPUs for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* For more information, see Build environment * compute types in the CodeBuild User Guide. *

*/ private String computeType; /** *

* The scaling configuration of the compute fleet. *

*/ private ScalingConfigurationInput scalingConfiguration; /** *

* The compute fleet overflow behavior. *

* */ private String overflowBehavior; private VpcConfig vpcConfig; /** *

* The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide. *

*/ private String fleetServiceRole; /** *

* A list of tag key and value pairs associated with this compute fleet. *

*

* These tags are available for use by Amazon Web Services services that support CodeBuild build project tags. *

*/ private java.util.List tags; /** *

* The name of the compute fleet. *

* * @param name * The name of the compute fleet. */ public void setName(String name) { this.name = name; } /** *

* The name of the compute fleet. *

* * @return The name of the compute fleet. */ public String getName() { return this.name; } /** *

* The name of the compute fleet. *

* * @param name * The name of the compute fleet. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFleetRequest withName(String name) { setName(name); return this; } /** *

* The initial number of machines allocated to the fleet, which defines the number of builds that can run in parallel. *

* * @param baseCapacity * The initial number of machines allocated to the fleet, which defines the number of builds that can run in * parallel. */ public void setBaseCapacity(Integer baseCapacity) { this.baseCapacity = baseCapacity; } /** *

* The initial number of machines allocated to the fleet, which defines the number of builds that can run in parallel. *

* * @return The initial number of machines allocated to the fleet, which defines the number of builds that can run in * parallel. */ public Integer getBaseCapacity() { return this.baseCapacity; } /** *

* The initial number of machines allocated to the fleet, which defines the number of builds that can run in parallel. *

* * @param baseCapacity * The initial number of machines allocated to the fleet, which defines the number of builds that can run in * parallel. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFleetRequest withBaseCapacity(Integer baseCapacity) { setBaseCapacity(baseCapacity); return this; } /** *

* The environment type of the compute fleet. *

*
    *
  • *

    * The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), * Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). *

    *
  • *
  • *

    * The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia * Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). *

    *
  • *
  • *

    * The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) * and EU (Ireland). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific * (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). *

    *
  • *
*

* For more information, see Build environment * compute types in the CodeBuild user guide. *

* * @param environmentType * The environment type of the compute fleet.

*
    *
  • *

    * The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US * East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific * (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). *

    *
  • *
  • *

    * The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US * East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific * (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). *

    *
  • *
  • *

    * The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), * US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific * (Sydney). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific * (Mumbai) and EU (Ireland). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia * Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). *

    *
  • *
*

* For more information, see Build * environment compute types in the CodeBuild user guide. * @see EnvironmentType */ public void setEnvironmentType(String environmentType) { this.environmentType = environmentType; } /** *

* The environment type of the compute fleet. *

*
    *
  • *

    * The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), * Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). *

    *
  • *
  • *

    * The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia * Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). *

    *
  • *
  • *

    * The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) * and EU (Ireland). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific * (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). *

    *
  • *
*

* For more information, see Build environment * compute types in the CodeBuild user guide. *

* * @return The environment type of the compute fleet.

*
    *
  • *

    * The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US * East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific * (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). *

    *
  • *
  • *

    * The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US * East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific * (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). *

    *
  • *
  • *

    * The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), * US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific * (Sydney). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific * (Mumbai) and EU (Ireland). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia * Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). *

    *
  • *
*

* For more information, see Build * environment compute types in the CodeBuild user guide. * @see EnvironmentType */ public String getEnvironmentType() { return this.environmentType; } /** *

* The environment type of the compute fleet. *

*
    *
  • *

    * The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), * Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). *

    *
  • *
  • *

    * The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia * Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). *

    *
  • *
  • *

    * The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) * and EU (Ireland). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific * (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). *

    *
  • *
*

* For more information, see Build environment * compute types in the CodeBuild user guide. *

* * @param environmentType * The environment type of the compute fleet.

*
    *
  • *

    * The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US * East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific * (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). *

    *
  • *
  • *

    * The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US * East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific * (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). *

    *
  • *
  • *

    * The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), * US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific * (Sydney). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific * (Mumbai) and EU (Ireland). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia * Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). *

    *
  • *
*

* For more information, see Build * environment compute types in the CodeBuild user guide. * @return Returns a reference to this object so that method calls can be chained together. * @see EnvironmentType */ public CreateFleetRequest withEnvironmentType(String environmentType) { setEnvironmentType(environmentType); return this; } /** *

* The environment type of the compute fleet. *

*
    *
  • *

    * The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific (Singapore), * Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). *

    *
  • *
  • *

    * The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific (Singapore), Asia * Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). *

    *
  • *
  • *

    * The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), US East * (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific (Sydney). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific (Mumbai) * and EU (Ireland). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia Pacific * (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). *

    *
  • *
*

* For more information, see Build environment * compute types in the CodeBuild user guide. *

* * @param environmentType * The environment type of the compute fleet.

*
    *
  • *

    * The environment type ARM_CONTAINER is available only in regions US East (N. Virginia), US * East (Ohio), US West (Oregon), EU (Ireland), Asia Pacific (Mumbai), Asia Pacific (Tokyo), Asia Pacific * (Singapore), Asia Pacific (Sydney), EU (Frankfurt), and South America (São Paulo). *

    *
  • *
  • *

    * The environment type LINUX_CONTAINER is available only in regions US East (N. Virginia), US * East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), Asia Pacific * (Singapore), Asia Pacific (Sydney), South America (São Paulo), and Asia Pacific (Mumbai). *

    *
  • *
  • *

    * The environment type LINUX_GPU_CONTAINER is available only in regions US East (N. Virginia), * US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Tokyo), and Asia Pacific * (Sydney). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2019_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Sydney), Asia Pacific (Tokyo), Asia Pacific * (Mumbai) and EU (Ireland). *

    *
  • *
  • *

    * The environment type WINDOWS_SERVER_2022_CONTAINER is available only in regions US East (N. * Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), Asia Pacific (Sydney), Asia * Pacific (Singapore), Asia Pacific (Tokyo), South America (São Paulo) and Asia Pacific (Mumbai). *

    *
  • *
*

* For more information, see Build * environment compute types in the CodeBuild user guide. * @return Returns a reference to this object so that method calls can be chained together. * @see EnvironmentType */ public CreateFleetRequest withEnvironmentType(EnvironmentType environmentType) { this.environmentType = environmentType.toString(); return this; } /** *

* Information about the compute resources the compute fleet uses. Available values include: *

*
    *
  • *

    * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment * type. *

    *
  • *
  • *

    * BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment * type. *

    *
  • *
  • *

    * BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. * This compute type supports Docker images up to 100 GB uncompressed. *

    *
  • *
*

* If you use BUILD_GENERAL1_SMALL: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G * Tensor Core GPU for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 4 GB memory and 2 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* If you use BUILD_GENERAL1_LARGE: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA * Tesla V100 GPUs for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* For more information, see Build environment * compute types in the CodeBuild User Guide. *

* * @param computeType * Information about the compute resources the compute fleet uses. Available values include:

*
    *
  • *

    * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your * environment type. *

    *
  • *
  • *

    * BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds, depending on your * environment type. *

    *
  • *
  • *

    * BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for * builds. This compute type supports Docker images up to 100 GB uncompressed. *

    *
  • *
*

* If you use BUILD_GENERAL1_SMALL: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, 4 vCPUs, and 1 * NVIDIA A10G Tensor Core GPU for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 4 GB memory and 2 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* If you use BUILD_GENERAL1_LARGE: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 * NVIDIA Tesla V100 GPUs for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* For more information, see Build * environment compute types in the CodeBuild User Guide. * @see ComputeType */ public void setComputeType(String computeType) { this.computeType = computeType; } /** *

* Information about the compute resources the compute fleet uses. Available values include: *

*
    *
  • *

    * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment * type. *

    *
  • *
  • *

    * BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment * type. *

    *
  • *
  • *

    * BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. * This compute type supports Docker images up to 100 GB uncompressed. *

    *
  • *
*

* If you use BUILD_GENERAL1_SMALL: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G * Tensor Core GPU for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 4 GB memory and 2 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* If you use BUILD_GENERAL1_LARGE: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA * Tesla V100 GPUs for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* For more information, see Build environment * compute types in the CodeBuild User Guide. *

* * @return Information about the compute resources the compute fleet uses. Available values include:

*
    *
  • *

    * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your * environment type. *

    *
  • *
  • *

    * BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds, depending on your * environment type. *

    *
  • *
  • *

    * BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for * builds. This compute type supports Docker images up to 100 GB uncompressed. *

    *
  • *
*

* If you use BUILD_GENERAL1_SMALL: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, 4 vCPUs, and 1 * NVIDIA A10G Tensor Core GPU for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 4 GB memory and 2 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* If you use BUILD_GENERAL1_LARGE: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 * NVIDIA Tesla V100 GPUs for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* For more information, see Build * environment compute types in the CodeBuild User Guide. * @see ComputeType */ public String getComputeType() { return this.computeType; } /** *

* Information about the compute resources the compute fleet uses. Available values include: *

*
    *
  • *

    * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment * type. *

    *
  • *
  • *

    * BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment * type. *

    *
  • *
  • *

    * BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. * This compute type supports Docker images up to 100 GB uncompressed. *

    *
  • *
*

* If you use BUILD_GENERAL1_SMALL: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G * Tensor Core GPU for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 4 GB memory and 2 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* If you use BUILD_GENERAL1_LARGE: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA * Tesla V100 GPUs for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* For more information, see Build environment * compute types in the CodeBuild User Guide. *

* * @param computeType * Information about the compute resources the compute fleet uses. Available values include:

*
    *
  • *

    * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your * environment type. *

    *
  • *
  • *

    * BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds, depending on your * environment type. *

    *
  • *
  • *

    * BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for * builds. This compute type supports Docker images up to 100 GB uncompressed. *

    *
  • *
*

* If you use BUILD_GENERAL1_SMALL: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, 4 vCPUs, and 1 * NVIDIA A10G Tensor Core GPU for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 4 GB memory and 2 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* If you use BUILD_GENERAL1_LARGE: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 * NVIDIA Tesla V100 GPUs for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* For more information, see Build * environment compute types in the CodeBuild User Guide. * @return Returns a reference to this object so that method calls can be chained together. * @see ComputeType */ public CreateFleetRequest withComputeType(String computeType) { setComputeType(computeType); return this; } /** *

* Information about the compute resources the compute fleet uses. Available values include: *

*
    *
  • *

    * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your environment * type. *

    *
  • *
  • *

    * BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds, depending on your environment * type. *

    *
  • *
  • *

    * BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for builds. * This compute type supports Docker images up to 100 GB uncompressed. *

    *
  • *
*

* If you use BUILD_GENERAL1_SMALL: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, 4 vCPUs, and 1 NVIDIA A10G * Tensor Core GPU for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 4 GB memory and 2 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* If you use BUILD_GENERAL1_LARGE: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 NVIDIA * Tesla V100 GPUs for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* For more information, see Build environment * compute types in the CodeBuild User Guide. *

* * @param computeType * Information about the compute resources the compute fleet uses. Available values include:

*
    *
  • *

    * BUILD_GENERAL1_SMALL: Use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_MEDIUM: Use up to 7 GB memory and 4 vCPUs for builds. *

    *
  • *
  • *

    * BUILD_GENERAL1_LARGE: Use up to 16 GB memory and 8 vCPUs for builds, depending on your * environment type. *

    *
  • *
  • *

    * BUILD_GENERAL1_XLARGE: Use up to 70 GB memory and 36 vCPUs for builds, depending on your * environment type. *

    *
  • *
  • *

    * BUILD_GENERAL1_2XLARGE: Use up to 145 GB memory, 72 vCPUs, and 824 GB of SSD storage for * builds. This compute type supports Docker images up to 100 GB uncompressed. *

    *
  • *
*

* If you use BUILD_GENERAL1_SMALL: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 3 GB memory and 2 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 16 GB memory, 4 vCPUs, and 1 * NVIDIA A10G Tensor Core GPU for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 4 GB memory and 2 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* If you use BUILD_GENERAL1_LARGE: *

*
    *
  • *

    * For environment type LINUX_CONTAINER, you can use up to 15 GB memory and 8 vCPUs for builds. *

    *
  • *
  • *

    * For environment type LINUX_GPU_CONTAINER, you can use up to 255 GB memory, 32 vCPUs, and 4 * NVIDIA Tesla V100 GPUs for builds. *

    *
  • *
  • *

    * For environment type ARM_CONTAINER, you can use up to 16 GB memory and 8 vCPUs on ARM-based * processors for builds. *

    *
  • *
*

* For more information, see Build * environment compute types in the CodeBuild User Guide. * @return Returns a reference to this object so that method calls can be chained together. * @see ComputeType */ public CreateFleetRequest withComputeType(ComputeType computeType) { this.computeType = computeType.toString(); return this; } /** *

* The scaling configuration of the compute fleet. *

* * @param scalingConfiguration * The scaling configuration of the compute fleet. */ public void setScalingConfiguration(ScalingConfigurationInput scalingConfiguration) { this.scalingConfiguration = scalingConfiguration; } /** *

* The scaling configuration of the compute fleet. *

* * @return The scaling configuration of the compute fleet. */ public ScalingConfigurationInput getScalingConfiguration() { return this.scalingConfiguration; } /** *

* The scaling configuration of the compute fleet. *

* * @param scalingConfiguration * The scaling configuration of the compute fleet. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFleetRequest withScalingConfiguration(ScalingConfigurationInput scalingConfiguration) { setScalingConfiguration(scalingConfiguration); return this; } /** *

* The compute fleet overflow behavior. *

* * * @param overflowBehavior * The compute fleet overflow behavior.

*
    *
  • *

    * For overflow behavior QUEUE, your overflow builds need to wait on the existing fleet instance * to become available. *

    *
  • *
  • *

    * For overflow behavior ON_DEMAND, your overflow builds run on CodeBuild on-demand. *

    * *

    * If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure * that you add the required VPC permissions to your project service role. For more information, see Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a * VPC network interface. *

    *
  • * @see FleetOverflowBehavior */ public void setOverflowBehavior(String overflowBehavior) { this.overflowBehavior = overflowBehavior; } /** *

    * The compute fleet overflow behavior. *

    * * * @return The compute fleet overflow behavior.

    *
      *
    • *

      * For overflow behavior QUEUE, your overflow builds need to wait on the existing fleet * instance to become available. *

      *
    • *
    • *

      * For overflow behavior ON_DEMAND, your overflow builds run on CodeBuild on-demand. *

      * *

      * If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure * that you add the required VPC permissions to your project service role. For more information, see Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a * VPC network interface. *

      *
    • * @see FleetOverflowBehavior */ public String getOverflowBehavior() { return this.overflowBehavior; } /** *

      * The compute fleet overflow behavior. *

      * * * @param overflowBehavior * The compute fleet overflow behavior.

      *
        *
      • *

        * For overflow behavior QUEUE, your overflow builds need to wait on the existing fleet instance * to become available. *

        *
      • *
      • *

        * For overflow behavior ON_DEMAND, your overflow builds run on CodeBuild on-demand. *

        * *

        * If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure * that you add the required VPC permissions to your project service role. For more information, see Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a * VPC network interface. *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. * @see FleetOverflowBehavior */ public CreateFleetRequest withOverflowBehavior(String overflowBehavior) { setOverflowBehavior(overflowBehavior); return this; } /** *

        * The compute fleet overflow behavior. *

        * * * @param overflowBehavior * The compute fleet overflow behavior.

        *
          *
        • *

          * For overflow behavior QUEUE, your overflow builds need to wait on the existing fleet instance * to become available. *

          *
        • *
        • *

          * For overflow behavior ON_DEMAND, your overflow builds run on CodeBuild on-demand. *

          * *

          * If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure * that you add the required VPC permissions to your project service role. For more information, see Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a * VPC network interface. *

          *
        • * @return Returns a reference to this object so that method calls can be chained together. * @see FleetOverflowBehavior */ public CreateFleetRequest withOverflowBehavior(FleetOverflowBehavior overflowBehavior) { this.overflowBehavior = overflowBehavior.toString(); return this; } /** * @param vpcConfig */ public void setVpcConfig(VpcConfig vpcConfig) { this.vpcConfig = vpcConfig; } /** * @return */ public VpcConfig getVpcConfig() { return this.vpcConfig; } /** * @param vpcConfig * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFleetRequest withVpcConfig(VpcConfig vpcConfig) { setVpcConfig(vpcConfig); return this; } /** *

          * The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide. *

          * * @param fleetServiceRole * The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide. */ public void setFleetServiceRole(String fleetServiceRole) { this.fleetServiceRole = fleetServiceRole; } /** *

          * The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide. *

          * * @return The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User * Guide. */ public String getFleetServiceRole() { return this.fleetServiceRole; } /** *

          * The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide. *

          * * @param fleetServiceRole * The service role associated with the compute fleet. For more information, see Allow a user to add a permission policy for a fleet service role in the CodeBuild User Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFleetRequest withFleetServiceRole(String fleetServiceRole) { setFleetServiceRole(fleetServiceRole); return this; } /** *

          * A list of tag key and value pairs associated with this compute fleet. *

          *

          * These tags are available for use by Amazon Web Services services that support CodeBuild build project tags. *

          * * @return A list of tag key and value pairs associated with this compute fleet.

          *

          * These tags are available for use by Amazon Web Services services that support CodeBuild build project * tags. */ public java.util.List getTags() { return tags; } /** *

          * A list of tag key and value pairs associated with this compute fleet. *

          *

          * These tags are available for use by Amazon Web Services services that support CodeBuild build project tags. *

          * * @param tags * A list of tag key and value pairs associated with this compute fleet.

          *

          * These tags are available for use by Amazon Web Services services that support CodeBuild build project * tags. */ public void setTags(java.util.Collection tags) { if (tags == null) { this.tags = null; return; } this.tags = new java.util.ArrayList(tags); } /** *

          * A list of tag key and value pairs associated with this compute fleet. *

          *

          * These tags are available for use by Amazon Web Services services that support CodeBuild build project tags. *

          *

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

          * * @param tags * A list of tag key and value pairs associated with this compute fleet.

          *

          * These tags are available for use by Amazon Web Services services that support CodeBuild build project * tags. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFleetRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList(tags.length)); } for (Tag ele : tags) { this.tags.add(ele); } return this; } /** *

          * A list of tag key and value pairs associated with this compute fleet. *

          *

          * These tags are available for use by Amazon Web Services services that support CodeBuild build project tags. *

          * * @param tags * A list of tag key and value pairs associated with this compute fleet.

          *

          * These tags are available for use by Amazon Web Services services that support CodeBuild build project * tags. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateFleetRequest withTags(java.util.Collection tags) { setTags(tags); 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 (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getBaseCapacity() != null) sb.append("BaseCapacity: ").append(getBaseCapacity()).append(","); if (getEnvironmentType() != null) sb.append("EnvironmentType: ").append(getEnvironmentType()).append(","); if (getComputeType() != null) sb.append("ComputeType: ").append(getComputeType()).append(","); if (getScalingConfiguration() != null) sb.append("ScalingConfiguration: ").append(getScalingConfiguration()).append(","); if (getOverflowBehavior() != null) sb.append("OverflowBehavior: ").append(getOverflowBehavior()).append(","); if (getVpcConfig() != null) sb.append("VpcConfig: ").append(getVpcConfig()).append(","); if (getFleetServiceRole() != null) sb.append("FleetServiceRole: ").append(getFleetServiceRole()).append(","); if (getTags() != null) sb.append("Tags: ").append(getTags()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateFleetRequest == false) return false; CreateFleetRequest other = (CreateFleetRequest) obj; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getBaseCapacity() == null ^ this.getBaseCapacity() == null) return false; if (other.getBaseCapacity() != null && other.getBaseCapacity().equals(this.getBaseCapacity()) == false) return false; if (other.getEnvironmentType() == null ^ this.getEnvironmentType() == null) return false; if (other.getEnvironmentType() != null && other.getEnvironmentType().equals(this.getEnvironmentType()) == false) return false; if (other.getComputeType() == null ^ this.getComputeType() == null) return false; if (other.getComputeType() != null && other.getComputeType().equals(this.getComputeType()) == false) return false; if (other.getScalingConfiguration() == null ^ this.getScalingConfiguration() == null) return false; if (other.getScalingConfiguration() != null && other.getScalingConfiguration().equals(this.getScalingConfiguration()) == false) return false; if (other.getOverflowBehavior() == null ^ this.getOverflowBehavior() == null) return false; if (other.getOverflowBehavior() != null && other.getOverflowBehavior().equals(this.getOverflowBehavior()) == false) return false; if (other.getVpcConfig() == null ^ this.getVpcConfig() == null) return false; if (other.getVpcConfig() != null && other.getVpcConfig().equals(this.getVpcConfig()) == false) return false; if (other.getFleetServiceRole() == null ^ this.getFleetServiceRole() == null) return false; if (other.getFleetServiceRole() != null && other.getFleetServiceRole().equals(this.getFleetServiceRole()) == false) return false; if (other.getTags() == null ^ this.getTags() == null) return false; if (other.getTags() != null && other.getTags().equals(this.getTags()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getBaseCapacity() == null) ? 0 : getBaseCapacity().hashCode()); hashCode = prime * hashCode + ((getEnvironmentType() == null) ? 0 : getEnvironmentType().hashCode()); hashCode = prime * hashCode + ((getComputeType() == null) ? 0 : getComputeType().hashCode()); hashCode = prime * hashCode + ((getScalingConfiguration() == null) ? 0 : getScalingConfiguration().hashCode()); hashCode = prime * hashCode + ((getOverflowBehavior() == null) ? 0 : getOverflowBehavior().hashCode()); hashCode = prime * hashCode + ((getVpcConfig() == null) ? 0 : getVpcConfig().hashCode()); hashCode = prime * hashCode + ((getFleetServiceRole() == null) ? 0 : getFleetServiceRole().hashCode()); hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode()); return hashCode; } @Override public CreateFleetRequest clone() { return (CreateFleetRequest) super.clone(); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy