Class GetAuthPolicyPlainArgs.Builder

  • Enclosing class:
    GetAuthPolicyPlainArgs

    public static final class GetAuthPolicyPlainArgs.Builder
    extends java.lang.Object
    • Method Detail

      • policy

        public GetAuthPolicyPlainArgs.Builder policy​(@Nullable
                                                     java.lang.String policy)
        Parameters:
        policy - Auth policy. The policy string in JSON must not contain newlines or blank lines.
        Returns:
        builder
      • region

        public GetAuthPolicyPlainArgs.Builder region​(@Nullable
                                                     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 GetAuthPolicyPlainArgs.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 GetAuthPolicyPlainArgs.Builder state​(@Nullable
                                                    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