@Generated(value="software.amazon.awssdk:codegen") public final class UpdateAliasRequest extends LambdaRequest implements ToCopyableBuilder<UpdateAliasRequest.Builder,UpdateAliasRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateAliasRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static UpdateAliasRequest.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.
|
String |
revisionId()
Only update the alias if the revision ID matches the ID that's specified.
|
AliasRoutingConfiguration |
routingConfig()
The routing
configuration of the alias.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateAliasRequest.Builder> |
serializableBuilderClass() |
UpdateAliasRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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 String name()
The name of the alias.
public String functionVersion()
The function version that the alias invokes.
public String description()
A description of the alias.
public AliasRoutingConfiguration routingConfig()
The routing configuration of the alias.
public String revisionId()
Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying an alias that has changed since you last read it.
public UpdateAliasRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<UpdateAliasRequest.Builder,UpdateAliasRequest>
toBuilder
in class LambdaRequest
public static UpdateAliasRequest.Builder builder()
public static Class<? extends UpdateAliasRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.