Class CfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty>
- Enclosing interface:
CfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty
@Stability(Stable)
public static final class CfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) deviceTrustProviderType
(String deviceTrustProviderType) trustProviderType
(String trustProviderType) userTrustProviderType
(String userTrustProviderType) verifiedAccessTrustProviderId
(String verifiedAccessTrustProviderId)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty.Builder description(String description) - Parameters:
description
- A description for the AWS Verified Access trust provider.- Returns:
this
-
deviceTrustProviderType
@Stability(Stable) public CfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty.Builder deviceTrustProviderType(String deviceTrustProviderType) Sets the value ofCfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty.getDeviceTrustProviderType()
- Parameters:
deviceTrustProviderType
- The type of device-based trust provider.- Returns:
this
-
trustProviderType
@Stability(Stable) public CfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty.Builder trustProviderType(String trustProviderType) Sets the value ofCfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty.getTrustProviderType()
- Parameters:
trustProviderType
- The type of Verified Access trust provider.- Returns:
this
-
userTrustProviderType
@Stability(Stable) public CfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty.Builder userTrustProviderType(String userTrustProviderType) Sets the value ofCfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty.getUserTrustProviderType()
- Parameters:
userTrustProviderType
- The type of user-based trust provider.- Returns:
this
-
verifiedAccessTrustProviderId
@Stability(Stable) public CfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty.Builder verifiedAccessTrustProviderId(String verifiedAccessTrustProviderId) Sets the value ofCfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty.getVerifiedAccessTrustProviderId()
- Parameters:
verifiedAccessTrustProviderId
- The ID of the AWS Verified Access trust provider.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty>
- Returns:
- a new instance of
CfnVerifiedAccessInstance.VerifiedAccessTrustProviderProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-