Class UpdateEnvironmentTemplateVersionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.proton.model.ProtonRequest
-
- software.amazon.awssdk.services.proton.model.UpdateEnvironmentTemplateVersionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateEnvironmentTemplateVersionRequest.Builder,UpdateEnvironmentTemplateVersionRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateEnvironmentTemplateVersionRequest extends ProtonRequest implements ToCopyableBuilder<UpdateEnvironmentTemplateVersionRequest.Builder,UpdateEnvironmentTemplateVersionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateEnvironmentTemplateVersionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateEnvironmentTemplateVersionRequest.Builderbuilder()Stringdescription()A description of environment template version to update.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmajorVersion()To update a major version of an environment template, includemajor Version.StringminorVersion()To update a minor version of an environment template, includeminorVersion.List<SdkField<?>>sdkFields()static Class<? extends UpdateEnvironmentTemplateVersionRequest.Builder>serializableBuilderClass()TemplateVersionStatusstatus()The status of the environment template minor version to update.StringstatusAsString()The status of the environment template minor version to update.StringtemplateName()The name of the environment template.UpdateEnvironmentTemplateVersionRequest.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
-
description
public final String description()
A description of environment template version to update.
- Returns:
- A description of environment template version to update.
-
majorVersion
public final String majorVersion()
To update a major version of an environment template, include
major Version.- Returns:
- To update a major version of an environment template, include
major Version.
-
minorVersion
public final String minorVersion()
To update a minor version of an environment template, include
minorVersion.- Returns:
- To update a minor version of an environment template, include
minorVersion.
-
status
public final TemplateVersionStatus status()
The status of the environment template minor version to update.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTemplateVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the environment template minor version to update.
- See Also:
TemplateVersionStatus
-
statusAsString
public final String statusAsString()
The status of the environment template minor version to update.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTemplateVersionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the environment template minor version to update.
- See Also:
TemplateVersionStatus
-
templateName
public final String templateName()
The name of the environment template.
- Returns:
- The name of the environment template.
-
toBuilder
public UpdateEnvironmentTemplateVersionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateEnvironmentTemplateVersionRequest.Builder,UpdateEnvironmentTemplateVersionRequest>- Specified by:
toBuilderin classProtonRequest
-
builder
public static UpdateEnvironmentTemplateVersionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateEnvironmentTemplateVersionRequest.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
-
-