Class AccessKeyReference.Builder
java.lang.Object
software.amazon.awscdk.services.iam.AccessKeyReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AccessKeyReference>
- Enclosing interface:
AccessKeyReference
@Stability(Stable)
public static final class AccessKeyReference.Builder
extends Object
implements software.amazon.jsii.Builder<AccessKeyReference>
A builder for
AccessKeyReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessKeyId
(String accessKeyId) Sets the value ofAccessKeyReference.getAccessKeyId()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessKeyId
Sets the value ofAccessKeyReference.getAccessKeyId()
- Parameters:
accessKeyId
- The Id of the AccessKey resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AccessKeyReference>
- Returns:
- a new instance of
AccessKeyReference
- Throws:
NullPointerException
- if any required attribute was not provided
-