Class CfnService.AzureIdentityServiceDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnService.AzureIdentityServiceDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.AzureIdentityServiceDetailsProperty>
- Enclosing interface:
CfnService.AzureIdentityServiceDetailsProperty
@Stability(Stable)
public static final class CfnService.AzureIdentityServiceDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.AzureIdentityServiceDetailsProperty>
A builder for
CfnService.AzureIdentityServiceDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnService.AzureIdentityServiceDetailsProperty.getClientId()Sets the value ofCfnService.AzureIdentityServiceDetailsProperty.getTenantId()webIdentityRoleArn(String webIdentityRoleArn) Sets the value ofCfnService.AzureIdentityServiceDetailsProperty.getWebIdentityRoleArn()webIdentityTokenAudiences(List<String> webIdentityTokenAudiences)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientId
@Stability(Stable) public CfnService.AzureIdentityServiceDetailsProperty.Builder clientId(String clientId) Sets the value ofCfnService.AzureIdentityServiceDetailsProperty.getClientId()- Parameters:
clientId- Azure AD application client ID. This parameter is required.- Returns:
this
-
tenantId
@Stability(Stable) public CfnService.AzureIdentityServiceDetailsProperty.Builder tenantId(String tenantId) Sets the value ofCfnService.AzureIdentityServiceDetailsProperty.getTenantId()- Parameters:
tenantId- Azure AD tenant ID. This parameter is required.- Returns:
this
-
webIdentityRoleArn
@Stability(Stable) public CfnService.AzureIdentityServiceDetailsProperty.Builder webIdentityRoleArn(String webIdentityRoleArn) Sets the value ofCfnService.AzureIdentityServiceDetailsProperty.getWebIdentityRoleArn()- Parameters:
webIdentityRoleArn- ARN of the IAM role for web identity token exchange. This parameter is required.- Returns:
this
-
webIdentityTokenAudiences
@Stability(Stable) public CfnService.AzureIdentityServiceDetailsProperty.Builder webIdentityTokenAudiences(List<String> webIdentityTokenAudiences) - Parameters:
webIdentityTokenAudiences- List of audiences for the web identity token. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.AzureIdentityServiceDetailsProperty>- Returns:
- a new instance of
CfnService.AzureIdentityServiceDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-