Class GetSecurityGroupArgs.Builder

  • Enclosing class:
    GetSecurityGroupArgs

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

      • id

        public GetSecurityGroupArgs.Builder id​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> id)
        Parameters:
        id - ID of the specific security group to retrieve.
        Returns:
        builder
      • id

        public GetSecurityGroupArgs.Builder id​(java.lang.String id)
        Parameters:
        id - ID of the specific security group to retrieve.
        Returns:
        builder
      • name

        public GetSecurityGroupArgs.Builder name​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html).
        Returns:
        builder
      • name

        public GetSecurityGroupArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the field to filter by, as defined by [the underlying AWS API](http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeSecurityGroups.html).
        Returns:
        builder
      • region

        public GetSecurityGroupArgs.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 GetSecurityGroupArgs.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
      • tags

        public GetSecurityGroupArgs.Builder tags​(@Nullable
                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags, each pair of which must exactly match a pair on the desired security group.
        Returns:
        builder
      • tags

        public GetSecurityGroupArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags, each pair of which must exactly match a pair on the desired security group.
        Returns:
        builder
      • vpcId

        public GetSecurityGroupArgs.Builder vpcId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> vpcId)
        Parameters:
        vpcId - ID of the VPC that the desired security group belongs to. More complex filters can be expressed using one or more `filter` sub-blocks, which take the following arguments:
        Returns:
        builder
      • vpcId

        public GetSecurityGroupArgs.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - ID of the VPC that the desired security group belongs to. More complex filters can be expressed using one or more `filter` sub-blocks, which take the following arguments:
        Returns:
        builder