@Generated(value="software.amazon.awssdk:codegen") public final class CreateDevEnvironmentRequest extends CodeCatalystRequest implements ToCopyableBuilder<CreateDevEnvironmentRequest.Builder,CreateDevEnvironmentRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDevEnvironmentRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
alias()
The user-defined alias for a Dev Environment.
|
static CreateDevEnvironmentRequest.Builder |
builder() |
String |
clientToken()
A user-specified idempotency token.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasIdes()
For responses, this returns true if the service returned a value for the Ides property.
|
boolean |
hasRepositories()
For responses, this returns true if the service returned a value for the Repositories property.
|
List<IdeConfiguration> |
ides()
Information about the integrated development environment (IDE) configured for a Dev Environment.
|
Integer |
inactivityTimeoutMinutes()
The amount of time the Dev Environment will run without any activity detected before stopping, in minutes.
|
InstanceType |
instanceType()
The Amazon EC2 instace type to use for the Dev Environment.
|
String |
instanceTypeAsString()
The Amazon EC2 instace type to use for the Dev Environment.
|
PersistentStorageConfiguration |
persistentStorage()
Information about the amount of storage allocated to the Dev Environment.
|
String |
projectName()
The name of the project in the space.
|
List<RepositoryInput> |
repositories()
The source repository that contains the branch to clone into the Dev Environment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDevEnvironmentRequest.Builder> |
serializableBuilderClass() |
String |
spaceName()
The name of the space.
|
CreateDevEnvironmentRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String spaceName()
The name of the space.
public final String projectName()
The name of the project in the space.
public final boolean hasRepositories()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<RepositoryInput> repositories()
The source repository that contains the branch to clone into the Dev Environment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRepositories() method.
public final 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.
public final String alias()
The user-defined alias for a Dev Environment.
public final boolean hasIdes()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<IdeConfiguration> 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasIdes() method.
An IDE is required to create a Dev Environment. For Dev Environment creation, this field contains configuration information and must be provided.
public final InstanceType instanceType()
The Amazon EC2 instace type to use for the Dev Environment.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTypeAsString().
InstanceTypepublic final String instanceTypeAsString()
The Amazon EC2 instace type to use for the Dev Environment.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTypeAsString().
InstanceTypepublic final 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.
public final 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.
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.
public CreateDevEnvironmentRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDevEnvironmentRequest.Builder,CreateDevEnvironmentRequest>toBuilder in class CodeCatalystRequestpublic static CreateDevEnvironmentRequest.Builder builder()
public static Class<? extends CreateDevEnvironmentRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.