Class UpdateEnvironmentRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cloud9.model.Cloud9Request
-
- software.amazon.awssdk.services.cloud9.model.UpdateEnvironmentRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateEnvironmentRequest extends Cloud9Request implements ToCopyableBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateEnvironmentRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateEnvironmentRequest.Builderbuilder()Stringdescription()Any new or replacement description for the environment.StringenvironmentId()The ID of the environment to change settings.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ManagedCredentialsActionmanagedCredentialsAction()Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials for an Cloud9 environment by using one of the following values:StringmanagedCredentialsActionAsString()Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials for an Cloud9 environment by using one of the following values:Stringname()A replacement name for the environment.List<SdkField<?>>sdkFields()static Class<? extends UpdateEnvironmentRequest.Builder>serializableBuilderClass()UpdateEnvironmentRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
environmentId
public final String environmentId()
The ID of the environment to change settings.
- Returns:
- The ID of the environment to change settings.
-
name
public final String name()
A replacement name for the environment.
- Returns:
- A replacement name for the environment.
-
description
public final String description()
Any new or replacement description for the environment.
- Returns:
- Any new or replacement description for the environment.
-
managedCredentialsAction
public final ManagedCredentialsAction managedCredentialsAction()
Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials for an Cloud9 environment by using one of the following values:
-
ENABLE -
DISABLE
Only the environment owner can change the status of managed temporary credentials. An
AccessDeniedExceptionis thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment owner.If the service returns an enum value that is not available in the current SDK version,
managedCredentialsActionwill returnManagedCredentialsAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommanagedCredentialsActionAsString().- Returns:
- Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials
for an Cloud9 environment by using one of the following values:
-
ENABLE -
DISABLE
Only the environment owner can change the status of managed temporary credentials. An
AccessDeniedExceptionis thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment owner. -
- See Also:
ManagedCredentialsAction
-
-
managedCredentialsActionAsString
public final String managedCredentialsActionAsString()
Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials for an Cloud9 environment by using one of the following values:
-
ENABLE -
DISABLE
Only the environment owner can change the status of managed temporary credentials. An
AccessDeniedExceptionis thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment owner.If the service returns an enum value that is not available in the current SDK version,
managedCredentialsActionwill returnManagedCredentialsAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommanagedCredentialsActionAsString().- Returns:
- Allows the environment owner to turn on or turn off the Amazon Web Services managed temporary credentials
for an Cloud9 environment by using one of the following values:
-
ENABLE -
DISABLE
Only the environment owner can change the status of managed temporary credentials. An
AccessDeniedExceptionis thrown if an attempt to turn on or turn off managed temporary credentials is made by an account that's not the environment owner. -
- See Also:
ManagedCredentialsAction
-
-
toBuilder
public UpdateEnvironmentRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateEnvironmentRequest.Builder,UpdateEnvironmentRequest>- Specified by:
toBuilderin classCloud9Request
-
builder
public static UpdateEnvironmentRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateEnvironmentRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-