Package com.pulumi.aws.sagemaker.inputs
Class WorkforceState.Builder
- java.lang.Object
-
- com.pulumi.aws.sagemaker.inputs.WorkforceState.Builder
-
- Enclosing class:
- WorkforceState
public static final class WorkforceState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(WorkforceState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(WorkforceState defaults)
-
-
Method Detail
-
arn
public WorkforceState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN assigned by AWS to this Workforce.- Returns:
- builder
-
arn
public WorkforceState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN assigned by AWS to this Workforce.- Returns:
- builder
-
cognitoConfig
public WorkforceState.Builder cognitoConfig(@Nullable com.pulumi.core.Output<WorkforceCognitoConfigArgs> cognitoConfig)
- Parameters:
cognitoConfig- Use this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool. Conflicts with `oidcConfig`. see Cognito Config details below.- Returns:
- builder
-
cognitoConfig
public WorkforceState.Builder cognitoConfig(WorkforceCognitoConfigArgs cognitoConfig)
- Parameters:
cognitoConfig- Use this parameter to configure an Amazon Cognito private workforce. A single Cognito workforce is created using and corresponds to a single Amazon Cognito user pool. Conflicts with `oidcConfig`. see Cognito Config details below.- Returns:
- builder
-
oidcConfig
public WorkforceState.Builder oidcConfig(@Nullable com.pulumi.core.Output<WorkforceOidcConfigArgs> oidcConfig)
- Parameters:
oidcConfig- Use this parameter to configure a private workforce using your own OIDC Identity Provider. Conflicts with `cognitoConfig`. see OIDC Config details below.- Returns:
- builder
-
oidcConfig
public WorkforceState.Builder oidcConfig(WorkforceOidcConfigArgs oidcConfig)
- Parameters:
oidcConfig- Use this parameter to configure a private workforce using your own OIDC Identity Provider. Conflicts with `cognitoConfig`. see OIDC Config details below.- Returns:
- builder
-
region
public WorkforceState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public WorkforceState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
sourceIpConfig
public WorkforceState.Builder sourceIpConfig(@Nullable com.pulumi.core.Output<WorkforceSourceIpConfigArgs> sourceIpConfig)
- Parameters:
sourceIpConfig- A list of IP address ranges Used to create an allow list of IP addresses for a private workforce. By default, a workforce isn't restricted to specific IP addresses. see Source IP Config details below.- Returns:
- builder
-
sourceIpConfig
public WorkforceState.Builder sourceIpConfig(WorkforceSourceIpConfigArgs sourceIpConfig)
- Parameters:
sourceIpConfig- A list of IP address ranges Used to create an allow list of IP addresses for a private workforce. By default, a workforce isn't restricted to specific IP addresses. see Source IP Config details below.- Returns:
- builder
-
subdomain
public WorkforceState.Builder subdomain(@Nullable com.pulumi.core.Output<java.lang.String> subdomain)
- Parameters:
subdomain- The subdomain for your OIDC Identity Provider.- Returns:
- builder
-
subdomain
public WorkforceState.Builder subdomain(java.lang.String subdomain)
- Parameters:
subdomain- The subdomain for your OIDC Identity Provider.- Returns:
- builder
-
workforceName
public WorkforceState.Builder workforceName(@Nullable com.pulumi.core.Output<java.lang.String> workforceName)
- Parameters:
workforceName- The name of the Workforce (must be unique).- Returns:
- builder
-
workforceName
public WorkforceState.Builder workforceName(java.lang.String workforceName)
- Parameters:
workforceName- The name of the Workforce (must be unique).- Returns:
- builder
-
workforceVpcConfig
public WorkforceState.Builder workforceVpcConfig(@Nullable com.pulumi.core.Output<WorkforceWorkforceVpcConfigArgs> workforceVpcConfig)
- Parameters:
workforceVpcConfig- configure a workforce using VPC. see Workforce VPC Config details below.- Returns:
- builder
-
workforceVpcConfig
public WorkforceState.Builder workforceVpcConfig(WorkforceWorkforceVpcConfigArgs workforceVpcConfig)
- Parameters:
workforceVpcConfig- configure a workforce using VPC. see Workforce VPC Config details below.- Returns:
- builder
-
build
public WorkforceState build()
-
-