Class TrustAnchorReference.Builder
java.lang.Object
software.amazon.awscdk.services.rolesanywhere.TrustAnchorReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TrustAnchorReference>
- Enclosing interface:
TrustAnchorReference
@Stability(Stable)
public static final class TrustAnchorReference.Builder
extends Object
implements software.amazon.jsii.Builder<TrustAnchorReference>
A builder for
TrustAnchorReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.trustAnchorArn
(String trustAnchorArn) Sets the value ofTrustAnchorReference.getTrustAnchorArn()
trustAnchorId
(String trustAnchorId) Sets the value ofTrustAnchorReference.getTrustAnchorId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
trustAnchorArn
Sets the value ofTrustAnchorReference.getTrustAnchorArn()
- Parameters:
trustAnchorArn
- The ARN of the TrustAnchor resource. This parameter is required.- Returns:
this
-
trustAnchorId
Sets the value ofTrustAnchorReference.getTrustAnchorId()
- Parameters:
trustAnchorId
- The TrustAnchorId of the TrustAnchor resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<TrustAnchorReference>
- Returns:
- a new instance of
TrustAnchorReference
- Throws:
NullPointerException
- if any required attribute was not provided
-