Package com.pulumi.aws.vpclattice.inputs
Class AuthPolicyState.Builder
- java.lang.Object
-
- com.pulumi.aws.vpclattice.inputs.AuthPolicyState.Builder
-
- Enclosing class:
- AuthPolicyState
public static final class AuthPolicyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AuthPolicyState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthPolicyStatebuild()AuthPolicyState.Builderpolicy(com.pulumi.core.Output<java.lang.String> policy)AuthPolicyState.Builderpolicy(java.lang.String policy)AuthPolicyState.Builderregion(com.pulumi.core.Output<java.lang.String> region)AuthPolicyState.Builderregion(java.lang.String region)AuthPolicyState.BuilderresourceIdentifier(com.pulumi.core.Output<java.lang.String> resourceIdentifier)AuthPolicyState.BuilderresourceIdentifier(java.lang.String resourceIdentifier)AuthPolicyState.Builderstate(com.pulumi.core.Output<java.lang.String> state)AuthPolicyState.Builderstate(java.lang.String state)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AuthPolicyState defaults)
-
-
Method Detail
-
policy
public AuthPolicyState.Builder policy(@Nullable com.pulumi.core.Output<java.lang.String> policy)
- Parameters:
policy- Auth policy. The policy string in JSON must not contain newlines or blank lines.- Returns:
- builder
-
policy
public AuthPolicyState.Builder policy(java.lang.String policy)
- Parameters:
policy- Auth policy. The policy string in JSON must not contain newlines or blank lines.- Returns:
- builder
-
region
public AuthPolicyState.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 AuthPolicyState.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
-
resourceIdentifier
public AuthPolicyState.Builder resourceIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> resourceIdentifier)
- Parameters:
resourceIdentifier- ID or ARN of the service network or service for which the policy is created.- Returns:
- builder
-
resourceIdentifier
public AuthPolicyState.Builder resourceIdentifier(java.lang.String resourceIdentifier)
- Parameters:
resourceIdentifier- ID or ARN of the service network or service for which the policy is created.- Returns:
- builder
-
state
public AuthPolicyState.Builder state(@Nullable com.pulumi.core.Output<java.lang.String> state)
- Parameters:
state- State of the auth policy. The auth policy is only active when the auth type is set to `AWS_IAM`. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is `NONE`, then, any auth policy you provide will remain inactive.- Returns:
- builder
-
state
public AuthPolicyState.Builder state(java.lang.String state)
- Parameters:
state- State of the auth policy. The auth policy is only active when the auth type is set to `AWS_IAM`. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is `NONE`, then, any auth policy you provide will remain inactive.- Returns:
- builder
-
build
public AuthPolicyState build()
-
-