Class AuthorizerReference.Builder
java.lang.Object
software.amazon.awscdk.services.iot.AuthorizerReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AuthorizerReference>
- Enclosing interface:
AuthorizerReference
@Stability(Stable)
public static final class AuthorizerReference.Builder
extends Object
implements software.amazon.jsii.Builder<AuthorizerReference>
A builder for
AuthorizerReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizerArn
(String authorizerArn) Sets the value ofAuthorizerReference.getAuthorizerArn()
authorizerName
(String authorizerName) Sets the value ofAuthorizerReference.getAuthorizerName()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizerArn
Sets the value ofAuthorizerReference.getAuthorizerArn()
- Parameters:
authorizerArn
- The ARN of the Authorizer resource. This parameter is required.- Returns:
this
-
authorizerName
Sets the value ofAuthorizerReference.getAuthorizerName()
- Parameters:
authorizerName
- The AuthorizerName of the Authorizer resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AuthorizerReference>
- Returns:
- a new instance of
AuthorizerReference
- Throws:
NullPointerException
- if any required attribute was not provided
-