Interface CreateDevEnvironmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeCatalystRequest.Builder
,CopyableBuilder<CreateDevEnvironmentRequest.Builder,
,CreateDevEnvironmentRequest> SdkBuilder<CreateDevEnvironmentRequest.Builder,
,CreateDevEnvironmentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDevEnvironmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe user-defined alias for a Dev Environment.clientToken
(String clientToken) A user-specified idempotency token.ides
(Collection<IdeConfiguration> ides) Information about the integrated development environment (IDE) configured for a Dev Environment.ides
(Consumer<IdeConfiguration.Builder>... ides) Information about the integrated development environment (IDE) configured for a Dev Environment.ides
(IdeConfiguration... ides) Information about the integrated development environment (IDE) configured for a Dev Environment.inactivityTimeoutMinutes
(Integer inactivityTimeoutMinutes) The amount of time the Dev Environment will run without any activity detected before stopping, in minutes.instanceType
(String instanceType) The Amazon EC2 instace type to use for the Dev Environment.instanceType
(InstanceType instanceType) The Amazon EC2 instace type to use for the Dev Environment.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.persistentStorage
(Consumer<PersistentStorageConfiguration.Builder> persistentStorage) Information about the amount of storage allocated to the Dev Environment.persistentStorage
(PersistentStorageConfiguration persistentStorage) Information about the amount of storage allocated to the Dev Environment.projectName
(String projectName) The name of the project in the space.repositories
(Collection<RepositoryInput> repositories) The source repository that contains the branch to clone into the Dev Environment.repositories
(Consumer<RepositoryInput.Builder>... repositories) The source repository that contains the branch to clone into the Dev Environment.repositories
(RepositoryInput... repositories) The source repository that contains the branch to clone into the Dev Environment.The name of the space.vpcConnectionName
(String vpcConnectionName) The name of the connection that will be used to connect to Amazon VPC, if any.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codecatalyst.model.CodeCatalystRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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 theRepositoryInput.Builder
avoiding the need to create one manually viaRepositoryInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torepositories(List<RepositoryInput>)
.- Parameters:
repositories
- a consumer that will call methods onRepositoryInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
IdeConfiguration.Builder
avoiding the need to create one manually viaIdeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toides(List<IdeConfiguration>)
.- Parameters:
ides
- a consumer that will call methods onIdeConfiguration.Builder
- 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:
-
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
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
CreateDevEnvironmentRequest.Builder persistentStorage(PersistentStorageConfiguration 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
default CreateDevEnvironmentRequest.Builder persistentStorage(Consumer<PersistentStorageConfiguration.Builder> 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.
PersistentStorageConfiguration.Builder
avoiding the need to create one manually viaPersistentStorageConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topersistentStorage(PersistentStorageConfiguration)
.- Parameters:
persistentStorage
- a consumer that will call methods onPersistentStorageConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDevEnvironmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-