Class CfnLocationObjectStorage.GoogleOidcConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datasync.CfnLocationObjectStorage.GoogleOidcConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationObjectStorage.GoogleOidcConfigProperty>
- Enclosing interface:
CfnLocationObjectStorage.GoogleOidcConfigProperty
@Stability(Stable)
public static final class CfnLocationObjectStorage.GoogleOidcConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationObjectStorage.GoogleOidcConfigProperty>
A builder for
CfnLocationObjectStorage.GoogleOidcConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.identityPoolName(String identityPoolName) Sets the value ofCfnLocationObjectStorage.GoogleOidcConfigProperty.getIdentityPoolName()identityProviderName(String identityProviderName) projectName(String projectName) Sets the value ofCfnLocationObjectStorage.GoogleOidcConfigProperty.getProjectName()projectNumber(String projectNumber) Sets the value ofCfnLocationObjectStorage.GoogleOidcConfigProperty.getProjectNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
identityPoolName
@Stability(Stable) public CfnLocationObjectStorage.GoogleOidcConfigProperty.Builder identityPoolName(String identityPoolName) Sets the value ofCfnLocationObjectStorage.GoogleOidcConfigProperty.getIdentityPoolName()- Parameters:
identityPoolName- The name of the Google Cloud workload identity pool that DataSync federates with. This parameter is required.- Returns:
this
-
identityProviderName
@Stability(Stable) public CfnLocationObjectStorage.GoogleOidcConfigProperty.Builder identityProviderName(String identityProviderName) - Parameters:
identityProviderName- The name of the OIDC identity provider configured in the Google Cloud workload identity pool. This parameter is required.- Returns:
this
-
projectName
@Stability(Stable) public CfnLocationObjectStorage.GoogleOidcConfigProperty.Builder projectName(String projectName) Sets the value ofCfnLocationObjectStorage.GoogleOidcConfigProperty.getProjectName()- Parameters:
projectName- The human-readable Google Cloud project name. This parameter is required.- Returns:
this
-
projectNumber
@Stability(Stable) public CfnLocationObjectStorage.GoogleOidcConfigProperty.Builder projectNumber(String projectNumber) Sets the value ofCfnLocationObjectStorage.GoogleOidcConfigProperty.getProjectNumber()- Parameters:
projectNumber- The numeric Google Cloud project ID, as a string. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationObjectStorage.GoogleOidcConfigProperty>- Returns:
- a new instance of
CfnLocationObjectStorage.GoogleOidcConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-