@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublishTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PublishTypeRequest() |
Modifier and Type | Method and Description |
---|---|
PublishTypeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the extension.
|
String |
getPublicVersionNumber()
The version number to assign to this version of the extension.
|
String |
getType()
The type of the extension.
|
String |
getTypeName()
The name of the extension.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the extension.
|
void |
setPublicVersionNumber(String publicVersionNumber)
The version number to assign to this version of the extension.
|
void |
setType(String type)
The type of the extension.
|
void |
setTypeName(String typeName)
The name of the extension.
|
String |
toString()
Returns a string representation of this object.
|
PublishTypeRequest |
withArn(String arn)
The Amazon Resource Name (ARN) of the extension.
|
PublishTypeRequest |
withPublicVersionNumber(String publicVersionNumber)
The version number to assign to this version of the extension.
|
PublishTypeRequest |
withType(String type)
The type of the extension.
|
PublishTypeRequest |
withType(ThirdPartyType type)
The type of the extension.
|
PublishTypeRequest |
withTypeName(String typeName)
The name of the extension.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setType(String type)
The type of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
type
- The type of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
ThirdPartyType
public String getType()
The type of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
Conditional: You must specify Arn
, or TypeName
and Type
.
ThirdPartyType
public PublishTypeRequest withType(String type)
The type of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
type
- The type of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
ThirdPartyType
public PublishTypeRequest withType(ThirdPartyType type)
The type of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
type
- The type of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
ThirdPartyType
public void setArn(String arn)
The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
arn
- The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
public String getArn()
The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
Conditional: You must specify Arn
, or TypeName
and Type
.
public PublishTypeRequest withArn(String arn)
The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
arn
- The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
public void setTypeName(String typeName)
The name of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
typeName
- The name of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
public String getTypeName()
The name of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
Conditional: You must specify Arn
, or TypeName
and Type
.
public PublishTypeRequest withTypeName(String typeName)
The name of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
typeName
- The name of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.
public void setPublicVersionNumber(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
.
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
.
public String getPublicVersionNumber()
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
.
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
.
public PublishTypeRequest withPublicVersionNumber(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
.
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
.
public String toString()
toString
in class Object
Object.toString()
public PublishTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()