Class PublishTypeRequest
- 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.PublishTypeRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PublishTypeRequest.Builder,PublishTypeRequest>
@Generated("software.amazon.awssdk:codegen") public final class PublishTypeRequest extends CloudFormationRequest implements ToCopyableBuilder<PublishTypeRequest.Builder,PublishTypeRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePublishTypeRequest.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.static PublishTypeRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpublicVersionNumber()The version number to assign to this version of the extension.List<SdkField<?>>sdkFields()static Class<? extends PublishTypeRequest.Builder>serializableBuilderClass()PublishTypeRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.ThirdPartyTypetype()The type of the extension.StringtypeAsString()The type of the extension.StringtypeName()The name 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
-
type
public final ThirdPartyType type()
The type of the extension.
Conditional: You must specify
Arn, orTypeNameandType.If the service returns an enum value that is not available in the current SDK version,
typewill returnThirdPartyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the extension.
Conditional: You must specify
Arn, orTypeNameandType. - See Also:
ThirdPartyType
-
typeAsString
public final String typeAsString()
The type of the extension.
Conditional: You must specify
Arn, orTypeNameandType.If the service returns an enum value that is not available in the current SDK version,
typewill returnThirdPartyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the extension.
Conditional: You must specify
Arn, orTypeNameandType. - See Also:
ThirdPartyType
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify
Arn, orTypeNameandType.- Returns:
- The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify
Arn, orTypeNameandType.
-
typeName
public final String typeName()
The name of the extension.
Conditional: You must specify
Arn, orTypeNameandType.- Returns:
- The name of the extension.
Conditional: You must specify
Arn, orTypeNameandType.
-
publicVersionNumber
public final String publicVersionNumber()
The version number to assign to this version of the extension.
Use the following format, and adhere to semantic versioning when assigning a version number to your extension:
MAJOR.MINOR.PATCHFor more information, see Semantic Versioning 2.0.0.
If you don't specify a version number, CloudFormation increments the version number by one minor version release.
You cannot specify a version number the first time you publish a type. CloudFormation automatically sets the first version number to be
1.0.0.- Returns:
- The version number to assign to this version of the extension.
Use the following format, and adhere to semantic versioning when assigning a version number to your extension:
MAJOR.MINOR.PATCHFor more information, see Semantic Versioning 2.0.0.
If you don't specify a version number, CloudFormation increments the version number by one minor version release.
You cannot specify a version number the first time you publish a type. CloudFormation automatically sets the first version number to be
1.0.0.
-
toBuilder
public PublishTypeRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PublishTypeRequest.Builder,PublishTypeRequest>- Specified by:
toBuilderin classCloudFormationRequest
-
builder
public static PublishTypeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PublishTypeRequest.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
-
-