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