Class CfnHarness.HarnessGatewayOutboundAuthProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnHarness.HarnessGatewayOutboundAuthProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarness.HarnessGatewayOutboundAuthProperty>
- Enclosing interface:
CfnHarness.HarnessGatewayOutboundAuthProperty
@Stability(Stable)
public static final class CfnHarness.HarnessGatewayOutboundAuthProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarness.HarnessGatewayOutboundAuthProperty>
A builder for
CfnHarness.HarnessGatewayOutboundAuthProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnHarness.HarnessGatewayOutboundAuthProperty.getAwsIam()build()Builds the configured instance.Sets the value ofCfnHarness.HarnessGatewayOutboundAuthProperty.getNone()oauth(IResolvable oauth) Sets the value ofCfnHarness.HarnessGatewayOutboundAuthProperty.getOauth()Sets the value ofCfnHarness.HarnessGatewayOutboundAuthProperty.getOauth()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsIam
@Stability(Stable) public CfnHarness.HarnessGatewayOutboundAuthProperty.Builder awsIam(Object awsIam) Sets the value ofCfnHarness.HarnessGatewayOutboundAuthProperty.getAwsIam()- Parameters:
awsIam- the value to be set.- Returns:
this
-
none
Sets the value ofCfnHarness.HarnessGatewayOutboundAuthProperty.getNone()- Parameters:
none- the value to be set.- Returns:
this
-
oauth
@Stability(Stable) public CfnHarness.HarnessGatewayOutboundAuthProperty.Builder oauth(IResolvable oauth) Sets the value ofCfnHarness.HarnessGatewayOutboundAuthProperty.getOauth()- Parameters:
oauth- the value to be set.- Returns:
this
-
oauth
@Stability(Stable) public CfnHarness.HarnessGatewayOutboundAuthProperty.Builder oauth(CfnHarness.OAuthCredentialProviderProperty oauth) Sets the value ofCfnHarness.HarnessGatewayOutboundAuthProperty.getOauth()- Parameters:
oauth- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarness.HarnessGatewayOutboundAuthProperty>- Returns:
- a new instance of
CfnHarness.HarnessGatewayOutboundAuthProperty - Throws:
NullPointerException- if any required attribute was not provided
-