Class AgentcorePolicyState.Builder

  • Enclosing class:
    AgentcorePolicyState

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

      • description

        public AgentcorePolicyState.Builder description​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of the policy.
        Returns:
        builder
      • description

        public AgentcorePolicyState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of the policy.
        Returns:
        builder
      • name

        public AgentcorePolicyState.Builder name​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the policy. Must be 1-48 characters and match the pattern `^[A-Za-z][A-Za-z0-9_]*$`. Changing this forces a new resource to be created.
        Returns:
        builder
      • name

        public AgentcorePolicyState.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the policy. Must be 1-48 characters and match the pattern `^[A-Za-z][A-Za-z0-9_]*$`. Changing this forces a new resource to be created.
        Returns:
        builder
      • policyArn

        public AgentcorePolicyState.Builder policyArn​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> policyArn)
        Parameters:
        policyArn - ARN of the Policy.
        Returns:
        builder
      • policyArn

        public AgentcorePolicyState.Builder policyArn​(java.lang.String policyArn)
        Parameters:
        policyArn - ARN of the Policy.
        Returns:
        builder
      • policyEngineId

        public AgentcorePolicyState.Builder policyEngineId​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> policyEngineId)
        Parameters:
        policyEngineId - Identifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created. The following arguments are optional:
        Returns:
        builder
      • policyEngineId

        public AgentcorePolicyState.Builder policyEngineId​(java.lang.String policyEngineId)
        Parameters:
        policyEngineId - Identifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created. The following arguments are optional:
        Returns:
        builder
      • policyId

        public AgentcorePolicyState.Builder policyId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> policyId)
        Parameters:
        policyId - Identifier of the Policy.
        Returns:
        builder
      • policyId

        public AgentcorePolicyState.Builder policyId​(java.lang.String policyId)
        Parameters:
        policyId - Identifier of the Policy.
        Returns:
        builder
      • region

        public AgentcorePolicyState.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 AgentcorePolicyState.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
      • validationMode

        public AgentcorePolicyState.Builder validationMode​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> validationMode)
        Parameters:
        validationMode - Controls whether validation findings cause policy creation or update to fail. Valid values: `FAIL_ON_ANY_FINDINGS`, `IGNORE_ALL_FINDINGS`. Defaults to `FAIL_ON_ANY_FINDINGS`.
        Returns:
        builder
      • validationMode

        public AgentcorePolicyState.Builder validationMode​(java.lang.String validationMode)
        Parameters:
        validationMode - Controls whether validation findings cause policy creation or update to fail. Valid values: `FAIL_ON_ANY_FINDINGS`, `IGNORE_ALL_FINDINGS`. Defaults to `FAIL_ON_ANY_FINDINGS`.
        Returns:
        builder