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 interface
PublishTypeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
arn()
The Amazon Resource Name (ARN) of the extension.static PublishTypeRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
publicVersionNumber()
The version number to assign to this version of the extension.List<SdkField<?>>
sdkFields()
static Class<? extends PublishTypeRequest.Builder>
serializableBuilderClass()
PublishTypeRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.ThirdPartyType
type()
The type of the extension.String
typeAsString()
The type of the extension.String
typeName()
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
, orTypeName
andType
.If the service returns an enum value that is not available in the current SDK version,
type
will 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
, orTypeName
andType
. - See Also:
ThirdPartyType
-
typeAsString
public final String typeAsString()
The type of the extension.
Conditional: You must specify
Arn
, orTypeName
andType
.If the service returns an enum value that is not available in the current SDK version,
type
will 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
, orTypeName
andType
. - See Also:
ThirdPartyType
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify
Arn
, orTypeName
andType
.- Returns:
- The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify
Arn
, orTypeName
andType
.
-
typeName
public final String typeName()
The name of the extension.
Conditional: You must specify
Arn
, orTypeName
andType
.- Returns:
- The name of the extension.
Conditional: You must specify
Arn
, orTypeName
andType
.
-
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.PATCH
For 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.PATCH
For 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:
toBuilder
in interfaceToCopyableBuilder<PublishTypeRequest.Builder,PublishTypeRequest>
- Specified by:
toBuilder
in classCloudFormationRequest
-
builder
public static PublishTypeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PublishTypeRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
-