Class GetSecurityGroupPlainArgs.Builder

  • Enclosing class:
    GetSecurityGroupPlainArgs

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

      • id

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

        public GetSecurityGroupPlainArgs.Builder name​(@Nullable
                                                      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 GetSecurityGroupPlainArgs.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
      • tags

        public GetSecurityGroupPlainArgs.Builder tags​(@Nullable
                                                      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 GetSecurityGroupPlainArgs.Builder vpcId​(@Nullable
                                                       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