@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateExtensionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateExtensionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateExtensionRequest |
addActionsEntry(String key,
List<Action> value)
Add a single Actions entry
|
CreateExtensionRequest |
addParametersEntry(String key,
Parameter value)
Add a single Parameters entry
|
CreateExtensionRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateExtensionRequest |
clearActionsEntries()
Removes all the entries added into Actions.
|
CreateExtensionRequest |
clearParametersEntries()
Removes all the entries added into Parameters.
|
CreateExtensionRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateExtensionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,List<Action>> |
getActions()
The actions defined in the extension.
|
String |
getDescription()
Information about the extension.
|
Integer |
getLatestVersionNumber()
You can omit this field when you create an extension.
|
String |
getName()
A name for the extension.
|
Map<String,Parameter> |
getParameters()
The parameters accepted by the extension.
|
Map<String,String> |
getTags()
Adds one or more tags for the specified extension.
|
int |
hashCode() |
void |
setActions(Map<String,List<Action>> actions)
The actions defined in the extension.
|
void |
setDescription(String description)
Information about the extension.
|
void |
setLatestVersionNumber(Integer latestVersionNumber)
You can omit this field when you create an extension.
|
void |
setName(String name)
A name for the extension.
|
void |
setParameters(Map<String,Parameter> parameters)
The parameters accepted by the extension.
|
void |
setTags(Map<String,String> tags)
Adds one or more tags for the specified extension.
|
String |
toString()
Returns a string representation of this object.
|
CreateExtensionRequest |
withActions(Map<String,List<Action>> actions)
The actions defined in the extension.
|
CreateExtensionRequest |
withDescription(String description)
Information about the extension.
|
CreateExtensionRequest |
withLatestVersionNumber(Integer latestVersionNumber)
You can omit this field when you create an extension.
|
CreateExtensionRequest |
withName(String name)
A name for the extension.
|
CreateExtensionRequest |
withParameters(Map<String,Parameter> parameters)
The parameters accepted by the extension.
|
CreateExtensionRequest |
withTags(Map<String,String> tags)
Adds one or more tags for the specified 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 setName(String name)
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
name
- A name for the extension. Each extension name in your account must be unique. Extension versions use the
same name.public String getName()
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
public CreateExtensionRequest withName(String name)
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
name
- A name for the extension. Each extension name in your account must be unique. Extension versions use the
same name.public void setDescription(String description)
Information about the extension.
description
- Information about the extension.public String getDescription()
Information about the extension.
public CreateExtensionRequest withDescription(String description)
Information about the extension.
description
- Information about the extension.public Map<String,List<Action>> getActions()
The actions defined in the extension.
public void setActions(Map<String,List<Action>> actions)
The actions defined in the extension.
actions
- The actions defined in the extension.public CreateExtensionRequest withActions(Map<String,List<Action>> actions)
The actions defined in the extension.
actions
- The actions defined in the extension.public CreateExtensionRequest addActionsEntry(String key, List<Action> value)
public CreateExtensionRequest clearActionsEntries()
public Map<String,Parameter> getParameters()
The parameters accepted by the extension. You specify parameter values when you associate the extension to an
AppConfig resource by using the CreateExtensionAssociation
API action. For Lambda extension actions,
these parameters are included in the Lambda request object.
CreateExtensionAssociation
API action. For Lambda
extension actions, these parameters are included in the Lambda request object.public void setParameters(Map<String,Parameter> parameters)
The parameters accepted by the extension. You specify parameter values when you associate the extension to an
AppConfig resource by using the CreateExtensionAssociation
API action. For Lambda extension actions,
these parameters are included in the Lambda request object.
parameters
- The parameters accepted by the extension. You specify parameter values when you associate the extension to
an AppConfig resource by using the CreateExtensionAssociation
API action. For Lambda
extension actions, these parameters are included in the Lambda request object.public CreateExtensionRequest withParameters(Map<String,Parameter> parameters)
The parameters accepted by the extension. You specify parameter values when you associate the extension to an
AppConfig resource by using the CreateExtensionAssociation
API action. For Lambda extension actions,
these parameters are included in the Lambda request object.
parameters
- The parameters accepted by the extension. You specify parameter values when you associate the extension to
an AppConfig resource by using the CreateExtensionAssociation
API action. For Lambda
extension actions, these parameters are included in the Lambda request object.public CreateExtensionRequest addParametersEntry(String key, Parameter value)
public CreateExtensionRequest clearParametersEntries()
public Map<String,String> getTags()
Adds one or more tags for the specified extension. Tags are metadata that help you categorize resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define.
public void setTags(Map<String,String> tags)
Adds one or more tags for the specified extension. Tags are metadata that help you categorize resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define.
tags
- Adds one or more tags for the specified extension. Tags are metadata that help you categorize resources in
different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional
value, both of which you define.public CreateExtensionRequest withTags(Map<String,String> tags)
Adds one or more tags for the specified extension. Tags are metadata that help you categorize resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define.
tags
- Adds one or more tags for the specified extension. Tags are metadata that help you categorize resources in
different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional
value, both of which you define.public CreateExtensionRequest addTagsEntry(String key, String value)
public CreateExtensionRequest clearTagsEntries()
public void setLatestVersionNumber(Integer latestVersionNumber)
You can omit this field when you create an extension. When you create a new version, specify the most recent current version number. For example, you create version 3, enter 2 for this field.
latestVersionNumber
- You can omit this field when you create an extension. When you create a new version, specify the most
recent current version number. For example, you create version 3, enter 2 for this field.public Integer getLatestVersionNumber()
You can omit this field when you create an extension. When you create a new version, specify the most recent current version number. For example, you create version 3, enter 2 for this field.
public CreateExtensionRequest withLatestVersionNumber(Integer latestVersionNumber)
You can omit this field when you create an extension. When you create a new version, specify the most recent current version number. For example, you create version 3, enter 2 for this field.
latestVersionNumber
- You can omit this field when you create an extension. When you create a new version, specify the most
recent current version number. For example, you create version 3, enter 2 for this field.public String toString()
toString
in class Object
Object.toString()
public CreateExtensionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()