Class CfnService.MCPServerSplunkAuthorizationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnService.MCPServerSplunkAuthorizationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.MCPServerSplunkAuthorizationConfigProperty>
- Enclosing interface:
CfnService.MCPServerSplunkAuthorizationConfigProperty
@Stability(Stable)
public static final class CfnService.MCPServerSplunkAuthorizationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.MCPServerSplunkAuthorizationConfigProperty>
A builder for
CfnService.MCPServerSplunkAuthorizationConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbearerToken(IResolvable bearerToken) Sets the value ofCfnService.MCPServerSplunkAuthorizationConfigProperty.getBearerToken()bearerToken(CfnService.BearerTokenDetailsProperty bearerToken) Sets the value ofCfnService.MCPServerSplunkAuthorizationConfigProperty.getBearerToken()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bearerToken
@Stability(Stable) public CfnService.MCPServerSplunkAuthorizationConfigProperty.Builder bearerToken(IResolvable bearerToken) Sets the value ofCfnService.MCPServerSplunkAuthorizationConfigProperty.getBearerToken()- Parameters:
bearerToken- Bearer token authentication details. This parameter is required.- Returns:
this
-
bearerToken
@Stability(Stable) public CfnService.MCPServerSplunkAuthorizationConfigProperty.Builder bearerToken(CfnService.BearerTokenDetailsProperty bearerToken) Sets the value ofCfnService.MCPServerSplunkAuthorizationConfigProperty.getBearerToken()- Parameters:
bearerToken- Bearer token authentication details. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.MCPServerSplunkAuthorizationConfigProperty>- Returns:
- a new instance of
CfnService.MCPServerSplunkAuthorizationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-