@Generated(value="software.amazon.awssdk:codegen") public final class GetDevEnvironmentResponse extends CodeCatalystResponse implements ToCopyableBuilder<GetDevEnvironmentResponse.Builder,GetDevEnvironmentResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetDevEnvironmentResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
alias()
The user-specified alias for the Dev Environment.
|
static GetDevEnvironmentResponse.Builder |
builder() |
String |
creatorId()
The system-generated unique ID of the user who created the Dev Environment.
|
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.
|
String |
id()
The system-generated unique ID of the Dev Environment.
|
List<Ide> |
ides()
Information about the integrated development environment (IDE) configured for the 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.
|
Instant |
lastUpdatedTime()
The time when the Dev Environment was last updated, in coordinated universal time (UTC) timestamp format as
specified in RFC 3339.
|
PersistentStorage |
persistentStorage()
Information about the amount of storage allocated to the Dev Environment.
|
String |
projectName()
The name of the project in the space.
|
List<DevEnvironmentRepositorySummary> |
repositories()
The source repository that contains the branch cloned into the Dev Environment.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetDevEnvironmentResponse.Builder> |
serializableBuilderClass() |
String |
spaceName()
The name of the space.
|
DevEnvironmentStatus |
status()
The current status of the Dev Environment.
|
String |
statusAsString()
The current status of the Dev Environment.
|
String |
statusReason()
The reason for the status.
|
GetDevEnvironmentResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, 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 String id()
The system-generated unique ID of the Dev Environment.
public final Instant lastUpdatedTime()
The time when the Dev Environment was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
public final String creatorId()
The system-generated unique ID of the user who created the Dev Environment.
public final DevEnvironmentStatus status()
The current status of the Dev Environment.
If the service returns an enum value that is not available in the current SDK version, status will
return DevEnvironmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
DevEnvironmentStatuspublic final String statusAsString()
The current status of the Dev Environment.
If the service returns an enum value that is not available in the current SDK version, status will
return DevEnvironmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
DevEnvironmentStatuspublic final String statusReason()
The reason for the status.
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<DevEnvironmentRepositorySummary> repositories()
The source repository that contains the branch cloned 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 alias()
The user-specified alias for the 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<Ide> ides()
Information about the integrated development environment (IDE) configured for 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 hasIdes() method.
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.
public final PersistentStorage 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.
public GetDevEnvironmentResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetDevEnvironmentResponse.Builder,GetDevEnvironmentResponse>toBuilder in class AwsResponsepublic static GetDevEnvironmentResponse.Builder builder()
public static Class<? extends GetDevEnvironmentResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2022. All rights reserved.