Class PolicyState.Builder

  • Enclosing class:
    PolicyState

    public static final class PolicyState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • createdDate

        public PolicyState.Builder createdDate​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> createdDate)
        Parameters:
        createdDate - Date the policy was created.
        Returns:
        builder
      • createdDate

        public PolicyState.Builder createdDate​(java.lang.String createdDate)
        Parameters:
        createdDate - Date the policy was created.
        Returns:
        builder
      • definition

        public PolicyState.Builder definition​(@Nullable
                                              com.pulumi.core.Output<PolicyDefinitionArgs> definition)
        Parameters:
        definition - Definition of the policy. See Definition below.
        Returns:
        builder
      • policyId

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

        public PolicyState.Builder policyId​(java.lang.String policyId)
        Parameters:
        policyId - Policy ID of the policy.
        Returns:
        builder
      • policyStoreId

        public PolicyState.Builder policyStoreId​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> policyStoreId)
        Parameters:
        policyStoreId - Policy Store ID of the policy store.
        Returns:
        builder
      • policyStoreId

        public PolicyState.Builder policyStoreId​(java.lang.String policyStoreId)
        Parameters:
        policyStoreId - Policy Store ID of the policy store.
        Returns:
        builder
      • region

        public PolicyState.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 PolicyState.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