Class SetTypeDefaultVersionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest
-
- software.amazon.awssdk.services.cloudformation.model.SetTypeDefaultVersionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<SetTypeDefaultVersionRequest.Builder,SetTypeDefaultVersionRequest>
@Generated("software.amazon.awssdk:codegen") public final class SetTypeDefaultVersionRequest extends CloudFormationRequest implements ToCopyableBuilder<SetTypeDefaultVersionRequest.Builder,SetTypeDefaultVersionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSetTypeDefaultVersionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the extension for which you want version summary information.static SetTypeDefaultVersionRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SetTypeDefaultVersionRequest.Builder>serializableBuilderClass()SetTypeDefaultVersionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.RegistryTypetype()The kind of extension.StringtypeAsString()The kind of extension.StringtypeName()The name of the extension.StringversionId()The ID of a specific version of the extension.-
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
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the extension for which you want version summary information.
Conditional: You must specify either
TypeNameandType, orArn.- Returns:
- The Amazon Resource Name (ARN) of the extension for which you want version summary information.
Conditional: You must specify either
TypeNameandType, orArn.
-
type
public final RegistryType type()
The kind of extension.
Conditional: You must specify either
TypeNameandType, orArn.If the service returns an enum value that is not available in the current SDK version,
typewill returnRegistryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The kind of extension.
Conditional: You must specify either
TypeNameandType, orArn. - See Also:
RegistryType
-
typeAsString
public final String typeAsString()
The kind of extension.
Conditional: You must specify either
TypeNameandType, orArn.If the service returns an enum value that is not available in the current SDK version,
typewill returnRegistryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The kind of extension.
Conditional: You must specify either
TypeNameandType, orArn. - See Also:
RegistryType
-
typeName
public final String typeName()
The name of the extension.
Conditional: You must specify either
TypeNameandType, orArn.- Returns:
- The name of the extension.
Conditional: You must specify either
TypeNameandType, orArn.
-
versionId
public final String versionId()
The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.
- Returns:
- The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.
-
toBuilder
public SetTypeDefaultVersionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SetTypeDefaultVersionRequest.Builder,SetTypeDefaultVersionRequest>- Specified by:
toBuilderin classCloudFormationRequest
-
builder
public static SetTypeDefaultVersionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends SetTypeDefaultVersionRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-