@Generated(value="software.amazon.awssdk:codegen") public final class CreateAliasRequest extends LambdaRequest implements ToCopyableBuilder<CreateAliasRequest.Builder,CreateAliasRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateAliasRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateAliasRequest.Builder |
builder() |
String |
description()
A description of the alias.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
functionName()
The name of the Lambda function.
|
String |
functionVersion()
The function version that the alias invokes.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the alias.
|
AliasRoutingConfiguration |
routingConfig()
The
routing configuration of the alias.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateAliasRequest.Builder> |
serializableBuilderClass() |
CreateAliasRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String functionName()
The name of the Lambda function.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
public final String name()
The name of the alias.
public final String functionVersion()
The function version that the alias invokes.
public final String description()
A description of the alias.
public final AliasRoutingConfiguration routingConfig()
The routing configuration of the alias.
public CreateAliasRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateAliasRequest.Builder,CreateAliasRequest>
toBuilder
in class LambdaRequest
public static CreateAliasRequest.Builder builder()
public static Class<? extends CreateAliasRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2022. All rights reserved.