Interface ListHostedZonesByVpcResponse.Builder

    • Method Detail

      • hostedZoneSummaries

        ListHostedZonesByVpcResponse.Builder hostedZoneSummaries​(Collection<HostedZoneSummary> hostedZoneSummaries)

        A list that contains one HostedZoneSummary element for each hosted zone that the specified Amazon VPC is associated with. Each HostedZoneSummary element contains the hosted zone name and ID, and information about who owns the hosted zone.

        Parameters:
        hostedZoneSummaries - A list that contains one HostedZoneSummary element for each hosted zone that the specified Amazon VPC is associated with. Each HostedZoneSummary element contains the hosted zone name and ID, and information about who owns the hosted zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hostedZoneSummaries

        ListHostedZonesByVpcResponse.Builder hostedZoneSummaries​(HostedZoneSummary... hostedZoneSummaries)

        A list that contains one HostedZoneSummary element for each hosted zone that the specified Amazon VPC is associated with. Each HostedZoneSummary element contains the hosted zone name and ID, and information about who owns the hosted zone.

        Parameters:
        hostedZoneSummaries - A list that contains one HostedZoneSummary element for each hosted zone that the specified Amazon VPC is associated with. Each HostedZoneSummary element contains the hosted zone name and ID, and information about who owns the hosted zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • hostedZoneSummaries

        ListHostedZonesByVpcResponse.Builder hostedZoneSummaries​(Consumer<HostedZoneSummary.Builder>... hostedZoneSummaries)

        A list that contains one HostedZoneSummary element for each hosted zone that the specified Amazon VPC is associated with. Each HostedZoneSummary element contains the hosted zone name and ID, and information about who owns the hosted zone.

        This is a convenience method that creates an instance of the HostedZoneSummary.Builder avoiding the need to create one manually via HostedZoneSummary.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #hostedZoneSummaries(List).

        Parameters:
        hostedZoneSummaries - a consumer that will call methods on HostedZoneSummary.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #hostedZoneSummaries(java.util.Collection)
      • maxItems

        ListHostedZonesByVpcResponse.Builder maxItems​(String maxItems)

        The value that you specified for MaxItems in the most recent ListHostedZonesByVPC request.

        Parameters:
        maxItems - The value that you specified for MaxItems in the most recent ListHostedZonesByVPC request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListHostedZonesByVpcResponse.Builder nextToken​(String nextToken)

        The value that you will use for NextToken in the next ListHostedZonesByVPC request.

        Parameters:
        nextToken - The value that you will use for NextToken in the next ListHostedZonesByVPC request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.