@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AliasConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides configuration information about a Lambda function alias.
Constructor and Description |
---|
AliasConfiguration() |
Modifier and Type | Method and Description |
---|---|
AliasConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAliasArn()
The Amazon Resource Name (ARN) of the alias.
|
String |
getDescription()
A description of the alias.
|
String |
getFunctionVersion()
The function version that the alias invokes.
|
String |
getName()
The name of the alias.
|
String |
getRevisionId()
A unique identifier that changes when you update the alias.
|
AliasRoutingConfiguration |
getRoutingConfig()
The routing
configuration of the alias.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAliasArn(String aliasArn)
The Amazon Resource Name (ARN) of the alias.
|
void |
setDescription(String description)
A description of the alias.
|
void |
setFunctionVersion(String functionVersion)
The function version that the alias invokes.
|
void |
setName(String name)
The name of the alias.
|
void |
setRevisionId(String revisionId)
A unique identifier that changes when you update the alias.
|
void |
setRoutingConfig(AliasRoutingConfiguration routingConfig)
The routing
configuration of the alias.
|
String |
toString()
Returns a string representation of this object.
|
AliasConfiguration |
withAliasArn(String aliasArn)
The Amazon Resource Name (ARN) of the alias.
|
AliasConfiguration |
withDescription(String description)
A description of the alias.
|
AliasConfiguration |
withFunctionVersion(String functionVersion)
The function version that the alias invokes.
|
AliasConfiguration |
withName(String name)
The name of the alias.
|
AliasConfiguration |
withRevisionId(String revisionId)
A unique identifier that changes when you update the alias.
|
AliasConfiguration |
withRoutingConfig(AliasRoutingConfiguration routingConfig)
The routing
configuration of the alias.
|
public void setAliasArn(String aliasArn)
The Amazon Resource Name (ARN) of the alias.
aliasArn
- The Amazon Resource Name (ARN) of the alias.public String getAliasArn()
The Amazon Resource Name (ARN) of the alias.
public AliasConfiguration withAliasArn(String aliasArn)
The Amazon Resource Name (ARN) of the alias.
aliasArn
- The Amazon Resource Name (ARN) of the alias.public void setName(String name)
The name of the alias.
name
- The name of the alias.public String getName()
The name of the alias.
public AliasConfiguration withName(String name)
The name of the alias.
name
- The name of the alias.public void setFunctionVersion(String functionVersion)
The function version that the alias invokes.
functionVersion
- The function version that the alias invokes.public String getFunctionVersion()
The function version that the alias invokes.
public AliasConfiguration withFunctionVersion(String functionVersion)
The function version that the alias invokes.
functionVersion
- The function version that the alias invokes.public void setDescription(String description)
A description of the alias.
description
- A description of the alias.public String getDescription()
A description of the alias.
public AliasConfiguration withDescription(String description)
A description of the alias.
description
- A description of the alias.public void setRoutingConfig(AliasRoutingConfiguration routingConfig)
The routing configuration of the alias.
routingConfig
- The routing
configuration of the alias.public AliasRoutingConfiguration getRoutingConfig()
The routing configuration of the alias.
public AliasConfiguration withRoutingConfig(AliasRoutingConfiguration routingConfig)
The routing configuration of the alias.
routingConfig
- The routing
configuration of the alias.public void setRevisionId(String revisionId)
A unique identifier that changes when you update the alias.
revisionId
- A unique identifier that changes when you update the alias.public String getRevisionId()
A unique identifier that changes when you update the alias.
public AliasConfiguration withRevisionId(String revisionId)
A unique identifier that changes when you update the alias.
revisionId
- A unique identifier that changes when you update the alias.public String toString()
toString
in class Object
Object.toString()
public AliasConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.