Class AliasAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.AliasAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AliasAttributes>
- Enclosing interface:
- AliasAttributes
@Stability(Stable)
public static final class AliasAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<AliasAttributes>
A builder for
AliasAttributes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAliasAttributes.getAliasName()
aliasVersion
(IVersion aliasVersion) Sets the value ofAliasAttributes.getAliasVersion()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aliasName
Sets the value ofAliasAttributes.getAliasName()
- Parameters:
aliasName
- the value to be set. This parameter is required.- Returns:
this
-
aliasVersion
Sets the value ofAliasAttributes.getAliasVersion()
- Parameters:
aliasVersion
- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AliasAttributes>
- Returns:
- a new instance of
AliasAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-