@Generated(value="software.amazon.awssdk:codegen") public final class CreateExtensionRequest extends AppConfigRequest implements ToCopyableBuilder<CreateExtensionRequest.Builder,CreateExtensionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateExtensionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<ActionPoint,List<Action>> |
actions()
The actions defined in the extension.
|
Map<String,List<Action>> |
actionsAsStrings()
The actions defined in the extension.
|
static CreateExtensionRequest.Builder |
builder() |
String |
description()
Information about the extension.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasActions()
For responses, this returns true if the service returned a value for the Actions property.
|
int |
hashCode() |
boolean |
hasParameters()
For responses, this returns true if the service returned a value for the Parameters property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
Integer |
latestVersionNumber()
You can omit this field when you create an extension.
|
String |
name()
A name for the extension.
|
Map<String,Parameter> |
parameters()
The parameters accepted by the extension.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateExtensionRequest.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
Adds one or more tags for the specified extension.
|
CreateExtensionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
public final String description()
Information about the extension.
public final Map<ActionPoint,List<Action>> actions()
The actions defined in the extension.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasActions() method.
public final boolean hasActions()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final Map<String,List<Action>> actionsAsStrings()
The actions defined in the extension.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasActions() method.
public final boolean hasParameters()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasParameters() method.
CreateExtensionAssociation API action. For Lambda
extension actions, these parameters are included in the Lambda request object.public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final 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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final 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.
public CreateExtensionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateExtensionRequest.Builder,CreateExtensionRequest>toBuilder in class AppConfigRequestpublic static CreateExtensionRequest.Builder builder()
public static Class<? extends CreateExtensionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.