JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.rds.model

Class DescribeDBInstancesRequest

    • Constructor Detail

      • DescribeDBInstancesRequest

        public DescribeDBInstancesRequest()
    • Method Detail

      • setDBInstanceIdentifier

        public void setDBInstanceIdentifier(String dBInstanceIdentifier)

        The user-supplied instance identifier or the Amazon Resource Name (ARN) of the DB instance. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive.

        Constraints:

        • If supplied, must match the identifier of an existing DB instance.

        Parameters:
        dBInstanceIdentifier - The user-supplied instance identifier or the Amazon Resource Name (ARN) of the DB instance. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive.

        Constraints:

        • If supplied, must match the identifier of an existing DB instance.

      • getDBInstanceIdentifier

        public String getDBInstanceIdentifier()

        The user-supplied instance identifier or the Amazon Resource Name (ARN) of the DB instance. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive.

        Constraints:

        • If supplied, must match the identifier of an existing DB instance.

        Returns:
        The user-supplied instance identifier or the Amazon Resource Name (ARN) of the DB instance. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive.

        Constraints:

        • If supplied, must match the identifier of an existing DB instance.

      • withDBInstanceIdentifier

        public DescribeDBInstancesRequest withDBInstanceIdentifier(String dBInstanceIdentifier)

        The user-supplied instance identifier or the Amazon Resource Name (ARN) of the DB instance. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive.

        Constraints:

        • If supplied, must match the identifier of an existing DB instance.

        Parameters:
        dBInstanceIdentifier - The user-supplied instance identifier or the Amazon Resource Name (ARN) of the DB instance. If this parameter is specified, information from only the specific DB instance is returned. This parameter isn't case-sensitive.

        Constraints:

        • If supplied, must match the identifier of an existing DB instance.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getFilters

        public List<Filter> getFilters()

        A filter that specifies one or more DB instances to describe.

        Supported Filters:

        • db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes information about the DB instances associated with the DB clusters identified by these ARNs.

        • db-instance-id - Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list only includes information about the DB instances identified by these ARNs.

        • dbi-resource-id - Accepts DB instance resource identifiers. The results list only includes information about the DB instances identified by these DB instance resource identifiers.

        • domain - Accepts Active Directory directory IDs. The results list only includes information about the DB instances associated with these domains.

        • engine - Accepts engine names. The results list only includes information about the DB instances for these engines.

        Returns:
        A filter that specifies one or more DB instances to describe.

        Supported Filters:

        • db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes information about the DB instances associated with the DB clusters identified by these ARNs.

        • db-instance-id - Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list only includes information about the DB instances identified by these ARNs.

        • dbi-resource-id - Accepts DB instance resource identifiers. The results list only includes information about the DB instances identified by these DB instance resource identifiers.

        • domain - Accepts Active Directory directory IDs. The results list only includes information about the DB instances associated with these domains.

        • engine - Accepts engine names. The results list only includes information about the DB instances for these engines.

      • setFilters

        public void setFilters(Collection<Filter> filters)

        A filter that specifies one or more DB instances to describe.

        Supported Filters:

        • db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes information about the DB instances associated with the DB clusters identified by these ARNs.

        • db-instance-id - Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list only includes information about the DB instances identified by these ARNs.

        • dbi-resource-id - Accepts DB instance resource identifiers. The results list only includes information about the DB instances identified by these DB instance resource identifiers.

        • domain - Accepts Active Directory directory IDs. The results list only includes information about the DB instances associated with these domains.

        • engine - Accepts engine names. The results list only includes information about the DB instances for these engines.

        Parameters:
        filters - A filter that specifies one or more DB instances to describe.

        Supported Filters:

        • db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes information about the DB instances associated with the DB clusters identified by these ARNs.

        • db-instance-id - Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list only includes information about the DB instances identified by these ARNs.

        • dbi-resource-id - Accepts DB instance resource identifiers. The results list only includes information about the DB instances identified by these DB instance resource identifiers.

        • domain - Accepts Active Directory directory IDs. The results list only includes information about the DB instances associated with these domains.

        • engine - Accepts engine names. The results list only includes information about the DB instances for these engines.

      • withFilters

        public DescribeDBInstancesRequest withFilters(Filter... filters)

        A filter that specifies one or more DB instances to describe.

        Supported Filters:

        • db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes information about the DB instances associated with the DB clusters identified by these ARNs.

        • db-instance-id - Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list only includes information about the DB instances identified by these ARNs.

        • dbi-resource-id - Accepts DB instance resource identifiers. The results list only includes information about the DB instances identified by these DB instance resource identifiers.

        • domain - Accepts Active Directory directory IDs. The results list only includes information about the DB instances associated with these domains.

        • engine - Accepts engine names. The results list only includes information about the DB instances for these engines.

        NOTE: This method appends the values to the existing list (if any). Use setFilters(java.util.Collection) or withFilters(java.util.Collection) if you want to override the existing values.

        Parameters:
        filters - A filter that specifies one or more DB instances to describe.

        Supported Filters:

        • db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes information about the DB instances associated with the DB clusters identified by these ARNs.

        • db-instance-id - Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list only includes information about the DB instances identified by these ARNs.

        • dbi-resource-id - Accepts DB instance resource identifiers. The results list only includes information about the DB instances identified by these DB instance resource identifiers.

        • domain - Accepts Active Directory directory IDs. The results list only includes information about the DB instances associated with these domains.

        • engine - Accepts engine names. The results list only includes information about the DB instances for these engines.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withFilters

        public DescribeDBInstancesRequest withFilters(Collection<Filter> filters)

        A filter that specifies one or more DB instances to describe.

        Supported Filters:

        • db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes information about the DB instances associated with the DB clusters identified by these ARNs.

        • db-instance-id - Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list only includes information about the DB instances identified by these ARNs.

        • dbi-resource-id - Accepts DB instance resource identifiers. The results list only includes information about the DB instances identified by these DB instance resource identifiers.

        • domain - Accepts Active Directory directory IDs. The results list only includes information about the DB instances associated with these domains.

        • engine - Accepts engine names. The results list only includes information about the DB instances for these engines.

        Parameters:
        filters - A filter that specifies one or more DB instances to describe.

        Supported Filters:

        • db-cluster-id - Accepts DB cluster identifiers and DB cluster Amazon Resource Names (ARNs). The results list only includes information about the DB instances associated with the DB clusters identified by these ARNs.

        • db-instance-id - Accepts DB instance identifiers and DB instance Amazon Resource Names (ARNs). The results list only includes information about the DB instances identified by these ARNs.

        • dbi-resource-id - Accepts DB instance resource identifiers. The results list only includes information about the DB instances identified by these DB instance resource identifiers.

        • domain - Accepts Active Directory directory IDs. The results list only includes information about the DB instances associated with these domains.

        • engine - Accepts engine names. The results list only includes information about the DB instances for these engines.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMaxRecords

        public void setMaxRecords(Integer maxRecords)

        The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

        Default: 100

        Constraints: Minimum 20, maximum 100.

        Parameters:
        maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

        Default: 100

        Constraints: Minimum 20, maximum 100.

      • getMaxRecords

        public Integer getMaxRecords()

        The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

        Default: 100

        Constraints: Minimum 20, maximum 100.

        Returns:
        The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

        Default: 100

        Constraints: Minimum 20, maximum 100.

      • withMaxRecords

        public DescribeDBInstancesRequest withMaxRecords(Integer maxRecords)

        The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

        Default: 100

        Constraints: Minimum 20, maximum 100.

        Parameters:
        maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results.

        Default: 100

        Constraints: Minimum 20, maximum 100.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMarker

        public void setMarker(String marker)

        An optional pagination token provided by a previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

        Parameters:
        marker - An optional pagination token provided by a previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
      • getMarker

        public String getMarker()

        An optional pagination token provided by a previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

        Returns:
        An optional pagination token provided by a previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
      • withMarker

        public DescribeDBInstancesRequest withMarker(String marker)

        An optional pagination token provided by a previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

        Parameters:
        marker - An optional pagination token provided by a previous DescribeDBInstances request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /