@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActivateTypeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ActivateTypeRequest() |
Modifier and Type | Method and Description |
---|---|
ActivateTypeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAutoUpdate()
Whether to automatically update the extension in this account and Region when a new minor version is
published by the extension publisher.
|
String |
getExecutionRoleArn()
The name of the IAM execution role to use to activate the extension.
|
LoggingConfig |
getLoggingConfig()
Contains logging configuration information for an extension.
|
Long |
getMajorVersion()
The major version of this extension you want to activate, if multiple major versions are available.
|
String |
getPublicTypeArn()
The Amazon Resource Name (ARN) of the public extension.
|
String |
getPublisherId()
The ID of the extension publisher.
|
String |
getType()
The extension type.
|
String |
getTypeName()
The name of the extension.
|
String |
getTypeNameAlias()
An alias to assign to the public extension, in this account and Region.
|
String |
getVersionBump()
Manually updates a previously-activated type to a new major or minor version, if available.
|
int |
hashCode() |
Boolean |
isAutoUpdate()
Whether to automatically update the extension in this account and Region when a new minor version is
published by the extension publisher.
|
void |
setAutoUpdate(Boolean autoUpdate)
Whether to automatically update the extension in this account and Region when a new minor version is
published by the extension publisher.
|
void |
setExecutionRoleArn(String executionRoleArn)
The name of the IAM execution role to use to activate the extension.
|
void |
setLoggingConfig(LoggingConfig loggingConfig)
Contains logging configuration information for an extension.
|
void |
setMajorVersion(Long majorVersion)
The major version of this extension you want to activate, if multiple major versions are available.
|
void |
setPublicTypeArn(String publicTypeArn)
The Amazon Resource Name (ARN) of the public extension.
|
void |
setPublisherId(String publisherId)
The ID of the extension publisher.
|
void |
setType(String type)
The extension type.
|
void |
setTypeName(String typeName)
The name of the extension.
|
void |
setTypeNameAlias(String typeNameAlias)
An alias to assign to the public extension, in this account and Region.
|
void |
setVersionBump(String versionBump)
Manually updates a previously-activated type to a new major or minor version, if available.
|
String |
toString()
Returns a string representation of this object.
|
ActivateTypeRequest |
withAutoUpdate(Boolean autoUpdate)
Whether to automatically update the extension in this account and Region when a new minor version is
published by the extension publisher.
|
ActivateTypeRequest |
withExecutionRoleArn(String executionRoleArn)
The name of the IAM execution role to use to activate the extension.
|
ActivateTypeRequest |
withLoggingConfig(LoggingConfig loggingConfig)
Contains logging configuration information for an extension.
|
ActivateTypeRequest |
withMajorVersion(Long majorVersion)
The major version of this extension you want to activate, if multiple major versions are available.
|
ActivateTypeRequest |
withPublicTypeArn(String publicTypeArn)
The Amazon Resource Name (ARN) of the public extension.
|
ActivateTypeRequest |
withPublisherId(String publisherId)
The ID of the extension publisher.
|
ActivateTypeRequest |
withType(String type)
The extension type.
|
ActivateTypeRequest |
withType(ThirdPartyType type)
The extension type.
|
ActivateTypeRequest |
withTypeName(String typeName)
The name of the extension.
|
ActivateTypeRequest |
withTypeNameAlias(String typeNameAlias)
An alias to assign to the public extension, in this account and Region.
|
ActivateTypeRequest |
withVersionBump(String versionBump)
Manually updates a previously-activated type to a new major or minor version, if available.
|
ActivateTypeRequest |
withVersionBump(VersionBump versionBump)
Manually updates a previously-activated type to a new major or minor version, if available.
|
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 extension type.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
type
- The extension type.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
ThirdPartyType
public String getType()
The extension type.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
,
and PublisherId
.
ThirdPartyType
public ActivateTypeRequest withType(String type)
The extension type.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
type
- The extension type.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
ThirdPartyType
public ActivateTypeRequest withType(ThirdPartyType type)
The extension type.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
type
- The extension type.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
ThirdPartyType
public void setPublicTypeArn(String publicTypeArn)
The Amazon Resource Name (ARN) of the public extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
publicTypeArn
- The Amazon Resource Name (ARN) of the public extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
public String getPublicTypeArn()
The Amazon Resource Name (ARN) of the public extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
,
and PublisherId
.
public ActivateTypeRequest withPublicTypeArn(String publicTypeArn)
The Amazon Resource Name (ARN) of the public extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
publicTypeArn
- The Amazon Resource Name (ARN) of the public extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
public void setPublisherId(String publisherId)
The ID of the extension publisher.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
publisherId
- The ID of the extension publisher.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
public String getPublisherId()
The ID of the extension publisher.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
,
and PublisherId
.
public ActivateTypeRequest withPublisherId(String publisherId)
The ID of the extension publisher.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
publisherId
- The ID of the extension publisher.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
public void setTypeName(String typeName)
The name of the extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
typeName
- The name of the extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
public String getTypeName()
The name of the extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
,
and PublisherId
.
public ActivateTypeRequest withTypeName(String typeName)
The name of the extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
typeName
- The name of the extension.
Conditional: You must specify PublicTypeArn
, or TypeName
, Type
, and
PublisherId
.
public void setTypeNameAlias(String typeNameAlias)
An alias to assign to the public extension, in this account and Region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and Region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console.
An extension alias must be unique within a given account and Region. You can activate the same public resource multiple times in the same account and Region, using different type name aliases.
typeNameAlias
- An alias to assign to the public extension, in this account and Region. If you specify an alias for the
extension, CloudFormation treats the alias as the extension type name within this account and Region. You
must use the alias to refer to the extension in your templates, API calls, and CloudFormation console.
An extension alias must be unique within a given account and Region. You can activate the same public resource multiple times in the same account and Region, using different type name aliases.
public String getTypeNameAlias()
An alias to assign to the public extension, in this account and Region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and Region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console.
An extension alias must be unique within a given account and Region. You can activate the same public resource multiple times in the same account and Region, using different type name aliases.
An extension alias must be unique within a given account and Region. You can activate the same public resource multiple times in the same account and Region, using different type name aliases.
public ActivateTypeRequest withTypeNameAlias(String typeNameAlias)
An alias to assign to the public extension, in this account and Region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and Region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console.
An extension alias must be unique within a given account and Region. You can activate the same public resource multiple times in the same account and Region, using different type name aliases.
typeNameAlias
- An alias to assign to the public extension, in this account and Region. If you specify an alias for the
extension, CloudFormation treats the alias as the extension type name within this account and Region. You
must use the alias to refer to the extension in your templates, API calls, and CloudFormation console.
An extension alias must be unique within a given account and Region. You can activate the same public resource multiple times in the same account and Region, using different type name aliases.
public void setAutoUpdate(Boolean autoUpdate)
Whether to automatically update the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated.
The default is true
.
autoUpdate
- Whether to automatically update the extension in this account and Region when a new minor version
is published by the extension publisher. Major versions released by the publisher must be manually
updated.
The default is true
.
public Boolean getAutoUpdate()
Whether to automatically update the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated.
The default is true
.
The default is true
.
public ActivateTypeRequest withAutoUpdate(Boolean autoUpdate)
Whether to automatically update the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated.
The default is true
.
autoUpdate
- Whether to automatically update the extension in this account and Region when a new minor version
is published by the extension publisher. Major versions released by the publisher must be manually
updated.
The default is true
.
public Boolean isAutoUpdate()
Whether to automatically update the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated.
The default is true
.
The default is true
.
public void setLoggingConfig(LoggingConfig loggingConfig)
Contains logging configuration information for an extension.
loggingConfig
- Contains logging configuration information for an extension.public LoggingConfig getLoggingConfig()
Contains logging configuration information for an extension.
public ActivateTypeRequest withLoggingConfig(LoggingConfig loggingConfig)
Contains logging configuration information for an extension.
loggingConfig
- Contains logging configuration information for an extension.public void setExecutionRoleArn(String executionRoleArn)
The name of the IAM execution role to use to activate the extension.
executionRoleArn
- The name of the IAM execution role to use to activate the extension.public String getExecutionRoleArn()
The name of the IAM execution role to use to activate the extension.
public ActivateTypeRequest withExecutionRoleArn(String executionRoleArn)
The name of the IAM execution role to use to activate the extension.
executionRoleArn
- The name of the IAM execution role to use to activate the extension.public void setVersionBump(String versionBump)
Manually updates a previously-activated type to a new major or minor version, if available. You can also use this
parameter to update the value of AutoUpdate
.
MAJOR
: CloudFormation updates the extension to the newest major version, if one is available.
MINOR
: CloudFormation updates the extension to the newest minor version, if one is available.
versionBump
- Manually updates a previously-activated type to a new major or minor version, if available. You can also
use this parameter to update the value of AutoUpdate
.
MAJOR
: CloudFormation updates the extension to the newest major version, if one is available.
MINOR
: CloudFormation updates the extension to the newest minor version, if one is available.
VersionBump
public String getVersionBump()
Manually updates a previously-activated type to a new major or minor version, if available. You can also use this
parameter to update the value of AutoUpdate
.
MAJOR
: CloudFormation updates the extension to the newest major version, if one is available.
MINOR
: CloudFormation updates the extension to the newest minor version, if one is available.
AutoUpdate
.
MAJOR
: CloudFormation updates the extension to the newest major version, if one is
available.
MINOR
: CloudFormation updates the extension to the newest minor version, if one is
available.
VersionBump
public ActivateTypeRequest withVersionBump(String versionBump)
Manually updates a previously-activated type to a new major or minor version, if available. You can also use this
parameter to update the value of AutoUpdate
.
MAJOR
: CloudFormation updates the extension to the newest major version, if one is available.
MINOR
: CloudFormation updates the extension to the newest minor version, if one is available.
versionBump
- Manually updates a previously-activated type to a new major or minor version, if available. You can also
use this parameter to update the value of AutoUpdate
.
MAJOR
: CloudFormation updates the extension to the newest major version, if one is available.
MINOR
: CloudFormation updates the extension to the newest minor version, if one is available.
VersionBump
public ActivateTypeRequest withVersionBump(VersionBump versionBump)
Manually updates a previously-activated type to a new major or minor version, if available. You can also use this
parameter to update the value of AutoUpdate
.
MAJOR
: CloudFormation updates the extension to the newest major version, if one is available.
MINOR
: CloudFormation updates the extension to the newest minor version, if one is available.
versionBump
- Manually updates a previously-activated type to a new major or minor version, if available. You can also
use this parameter to update the value of AutoUpdate
.
MAJOR
: CloudFormation updates the extension to the newest major version, if one is available.
MINOR
: CloudFormation updates the extension to the newest minor version, if one is available.
VersionBump
public void setMajorVersion(Long majorVersion)
The major version of this extension you want to activate, if multiple major versions are available. The default is the latest major version. CloudFormation uses the latest available minor version of the major version selected.
You can specify MajorVersion
or VersionBump
, but not both.
majorVersion
- The major version of this extension you want to activate, if multiple major versions are available. The
default is the latest major version. CloudFormation uses the latest available minor version of the
major version selected.
You can specify MajorVersion
or VersionBump
, but not both.
public Long getMajorVersion()
The major version of this extension you want to activate, if multiple major versions are available. The default is the latest major version. CloudFormation uses the latest available minor version of the major version selected.
You can specify MajorVersion
or VersionBump
, but not both.
You can specify MajorVersion
or VersionBump
, but not both.
public ActivateTypeRequest withMajorVersion(Long majorVersion)
The major version of this extension you want to activate, if multiple major versions are available. The default is the latest major version. CloudFormation uses the latest available minor version of the major version selected.
You can specify MajorVersion
or VersionBump
, but not both.
majorVersion
- The major version of this extension you want to activate, if multiple major versions are available. The
default is the latest major version. CloudFormation uses the latest available minor version of the
major version selected.
You can specify MajorVersion
or VersionBump
, but not both.
public String toString()
toString
in class Object
Object.toString()
public ActivateTypeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()