Class GrantOnKeyResult.Builder
java.lang.Object
software.amazon.awscdk.services.iam.GrantOnKeyResult.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GrantOnKeyResult>
- Enclosing interface:
GrantOnKeyResult
@Stability(Stable)
public static final class GrantOnKeyResult.Builder
extends Object
implements software.amazon.jsii.Builder<GrantOnKeyResult>
A builder for
GrantOnKeyResult-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofGrantOnKeyResult.getGrant()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
grant
Sets the value ofGrantOnKeyResult.getGrant()- Parameters:
grant- The Grant object, if a grant was created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GrantOnKeyResult>- Returns:
- a new instance of
GrantOnKeyResult - Throws:
NullPointerException- if any required attribute was not provided
-