Interface CreateDevEnvironmentRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CodeCatalystRequest.Builder, CopyableBuilder<CreateDevEnvironmentRequest.Builder,CreateDevEnvironmentRequest>, SdkBuilder<CreateDevEnvironmentRequest.Builder,CreateDevEnvironmentRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateDevEnvironmentRequest

public static interface CreateDevEnvironmentRequest.Builder extends CodeCatalystRequest.Builder, SdkPojo, CopyableBuilder<CreateDevEnvironmentRequest.Builder,CreateDevEnvironmentRequest>
  • Method Details

    • spaceName

      The name of the space.

      Parameters:
      spaceName - The name of the space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • projectName

      CreateDevEnvironmentRequest.Builder projectName(String projectName)

      The name of the project in the space.

      Parameters:
      projectName - The name of the project in the space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositories

      The source repository that contains the branch to clone into the Dev Environment.

      Parameters:
      repositories - The source repository that contains the branch to clone into the Dev Environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositories

      The source repository that contains the branch to clone into the Dev Environment.

      Parameters:
      repositories - The source repository that contains the branch to clone into the Dev Environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositories

      The source repository that contains the branch to clone into the Dev Environment.

      This is a convenience method that creates an instance of the RepositoryInput.Builder avoiding the need to create one manually via RepositoryInput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to repositories(List<RepositoryInput>).

      Parameters:
      repositories - a consumer that will call methods on RepositoryInput.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • clientToken

      CreateDevEnvironmentRequest.Builder clientToken(String clientToken)

      A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.

      Parameters:
      clientToken - A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alias

      The user-defined alias for a Dev Environment.

      Parameters:
      alias - The user-defined alias for a Dev Environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ides

      Information about the integrated development environment (IDE) configured for a Dev Environment.

      An IDE is required to create a Dev Environment. For Dev Environment creation, this field contains configuration information and must be provided.

      Parameters:
      ides - Information about the integrated development environment (IDE) configured for a Dev Environment.

      An IDE is required to create a Dev Environment. For Dev Environment creation, this field contains configuration information and must be provided.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ides

      Information about the integrated development environment (IDE) configured for a Dev Environment.

      An IDE is required to create a Dev Environment. For Dev Environment creation, this field contains configuration information and must be provided.

      Parameters:
      ides - Information about the integrated development environment (IDE) configured for a Dev Environment.

      An IDE is required to create a Dev Environment. For Dev Environment creation, this field contains configuration information and must be provided.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ides

      Information about the integrated development environment (IDE) configured for a Dev Environment.

      An IDE is required to create a Dev Environment. For Dev Environment creation, this field contains configuration information and must be provided.

      This is a convenience method that creates an instance of the IdeConfiguration.Builder avoiding the need to create one manually via IdeConfiguration.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ides(List<IdeConfiguration>).

      Parameters:
      ides - a consumer that will call methods on IdeConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceType

      CreateDevEnvironmentRequest.Builder instanceType(String instanceType)

      The Amazon EC2 instace type to use for the Dev Environment.

      Parameters:
      instanceType - The Amazon EC2 instace type to use for the Dev Environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceType

      The Amazon EC2 instace type to use for the Dev Environment.

      Parameters:
      instanceType - The Amazon EC2 instace type to use for the Dev Environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • inactivityTimeoutMinutes

      CreateDevEnvironmentRequest.Builder inactivityTimeoutMinutes(Integer inactivityTimeoutMinutes)

      The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running.

      Parameters:
      inactivityTimeoutMinutes - The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • persistentStorage

      Information about the amount of storage allocated to the Dev Environment.

      By default, a Dev Environment is configured to have 16GB of persistent storage when created from the Amazon CodeCatalyst console, but there is no default when programmatically creating a Dev Environment. Valid values for persistent storage are based on memory sizes in 16GB increments. Valid values are 16, 32, and 64.

      Parameters:
      persistentStorage - Information about the amount of storage allocated to the Dev Environment.

      By default, a Dev Environment is configured to have 16GB of persistent storage when created from the Amazon CodeCatalyst console, but there is no default when programmatically creating a Dev Environment. Valid values for persistent storage are based on memory sizes in 16GB increments. Valid values are 16, 32, and 64.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • persistentStorage

      Information about the amount of storage allocated to the Dev Environment.

      By default, a Dev Environment is configured to have 16GB of persistent storage when created from the Amazon CodeCatalyst console, but there is no default when programmatically creating a Dev Environment. Valid values for persistent storage are based on memory sizes in 16GB increments. Valid values are 16, 32, and 64.

      This is a convenience method that creates an instance of the PersistentStorageConfiguration.Builder avoiding the need to create one manually via PersistentStorageConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to persistentStorage(PersistentStorageConfiguration).

      Parameters:
      persistentStorage - a consumer that will call methods on PersistentStorageConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • vpcConnectionName

      CreateDevEnvironmentRequest.Builder vpcConnectionName(String vpcConnectionName)

      The name of the connection that will be used to connect to Amazon VPC, if any.

      Parameters:
      vpcConnectionName - The name of the connection that will be used to connect to Amazon VPC, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateDevEnvironmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.