Class CfnService.DynatraceServiceDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnService.DynatraceServiceDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.DynatraceServiceDetailsProperty>
- Enclosing interface:
CfnService.DynatraceServiceDetailsProperty
@Stability(Stable)
public static final class CfnService.DynatraceServiceDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.DynatraceServiceDetailsProperty>
A builder for
CfnService.DynatraceServiceDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountUrn(String accountUrn) Sets the value ofCfnService.DynatraceServiceDetailsProperty.getAccountUrn()authorizationConfig(IResolvable authorizationConfig) Sets the value ofCfnService.DynatraceServiceDetailsProperty.getAuthorizationConfig()authorizationConfig(CfnService.DynatraceAuthorizationConfigProperty authorizationConfig) Sets the value ofCfnService.DynatraceServiceDetailsProperty.getAuthorizationConfig()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountUrn
@Stability(Stable) public CfnService.DynatraceServiceDetailsProperty.Builder accountUrn(String accountUrn) Sets the value ofCfnService.DynatraceServiceDetailsProperty.getAccountUrn()- Parameters:
accountUrn- Dynatrace resource account URN. This parameter is required.- Returns:
this
-
authorizationConfig
@Stability(Stable) public CfnService.DynatraceServiceDetailsProperty.Builder authorizationConfig(IResolvable authorizationConfig) Sets the value ofCfnService.DynatraceServiceDetailsProperty.getAuthorizationConfig()- Parameters:
authorizationConfig- Dynatrace OAuth authorization configuration.- Returns:
this
-
authorizationConfig
@Stability(Stable) public CfnService.DynatraceServiceDetailsProperty.Builder authorizationConfig(CfnService.DynatraceAuthorizationConfigProperty authorizationConfig) Sets the value ofCfnService.DynatraceServiceDetailsProperty.getAuthorizationConfig()- Parameters:
authorizationConfig- Dynatrace OAuth authorization configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.DynatraceServiceDetailsProperty>- Returns:
- a new instance of
CfnService.DynatraceServiceDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-