Class GetResourcesArgs.Builder

  • Enclosing class:
    GetResourcesArgs

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

      • Builder

        public Builder()
    • Method Detail

      • excludeCompliantResources

        public GetResourcesArgs.Builder excludeCompliantResources​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Boolean> excludeCompliantResources)
        Parameters:
        excludeCompliantResources - Specifies whether to exclude resources that are compliant with the tag policy. You can use this parameter only if the `includeComplianceDetails` argument is also set to `true`.
        Returns:
        builder
      • excludeCompliantResources

        public GetResourcesArgs.Builder excludeCompliantResources​(java.lang.Boolean excludeCompliantResources)
        Parameters:
        excludeCompliantResources - Specifies whether to exclude resources that are compliant with the tag policy. You can use this parameter only if the `includeComplianceDetails` argument is also set to `true`.
        Returns:
        builder
      • includeComplianceDetails

        public GetResourcesArgs.Builder includeComplianceDetails​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.Boolean> includeComplianceDetails)
        Parameters:
        includeComplianceDetails - Specifies whether to include details regarding the compliance with the effective tag policy.
        Returns:
        builder
      • includeComplianceDetails

        public GetResourcesArgs.Builder includeComplianceDetails​(java.lang.Boolean includeComplianceDetails)
        Parameters:
        includeComplianceDetails - Specifies whether to include details regarding the compliance with the effective tag policy.
        Returns:
        builder
      • region

        public GetResourcesArgs.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 GetResourcesArgs.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
      • resourceArnLists

        public GetResourcesArgs.Builder resourceArnLists​(@Nullable
                                                         com.pulumi.core.Output<java.util.List<java.lang.String>> resourceArnLists)
        Parameters:
        resourceArnLists - Specifies a list of ARNs of resources for which you want to retrieve tag data. Conflicts with `filter`.
        Returns:
        builder
      • resourceArnLists

        public GetResourcesArgs.Builder resourceArnLists​(java.util.List<java.lang.String> resourceArnLists)
        Parameters:
        resourceArnLists - Specifies a list of ARNs of resources for which you want to retrieve tag data. Conflicts with `filter`.
        Returns:
        builder
      • resourceArnLists

        public GetResourcesArgs.Builder resourceArnLists​(java.lang.String... resourceArnLists)
        Parameters:
        resourceArnLists - Specifies a list of ARNs of resources for which you want to retrieve tag data. Conflicts with `filter`.
        Returns:
        builder
      • resourceTypeFilters

        public GetResourcesArgs.Builder resourceTypeFilters​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> resourceTypeFilters)
        Parameters:
        resourceTypeFilters - Constraints on the resources that you want returned. The format of each resource type is `service:resourceType`. For example, specifying a resource type of `ec2` returns all Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of `ec2:instance` returns only EC2 instances.
        Returns:
        builder
      • resourceTypeFilters

        public GetResourcesArgs.Builder resourceTypeFilters​(java.util.List<java.lang.String> resourceTypeFilters)
        Parameters:
        resourceTypeFilters - Constraints on the resources that you want returned. The format of each resource type is `service:resourceType`. For example, specifying a resource type of `ec2` returns all Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of `ec2:instance` returns only EC2 instances.
        Returns:
        builder
      • resourceTypeFilters

        public GetResourcesArgs.Builder resourceTypeFilters​(java.lang.String... resourceTypeFilters)
        Parameters:
        resourceTypeFilters - Constraints on the resources that you want returned. The format of each resource type is `service:resourceType`. For example, specifying a resource type of `ec2` returns all Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of `ec2:instance` returns only EC2 instances.
        Returns:
        builder
      • tagFilters

        public GetResourcesArgs.Builder tagFilters​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<GetResourcesTagFilterArgs>> tagFilters)
        Parameters:
        tagFilters - Specifies a list of Tag Filters (keys and values) to restrict the output to only those resources that have the specified tag and, if included, the specified value. See Tag Filter below. Conflicts with `resourceArnList`.
        Returns:
        builder
      • tagFilters

        public GetResourcesArgs.Builder tagFilters​(java.util.List<GetResourcesTagFilterArgs> tagFilters)
        Parameters:
        tagFilters - Specifies a list of Tag Filters (keys and values) to restrict the output to only those resources that have the specified tag and, if included, the specified value. See Tag Filter below. Conflicts with `resourceArnList`.
        Returns:
        builder
      • tagFilters

        public GetResourcesArgs.Builder tagFilters​(GetResourcesTagFilterArgs... tagFilters)
        Parameters:
        tagFilters - Specifies a list of Tag Filters (keys and values) to restrict the output to only those resources that have the specified tag and, if included, the specified value. See Tag Filter below. Conflicts with `resourceArnList`.
        Returns:
        builder