Interface ListProfileAssociationsResponse.Builder

  • Method Details

    • nextToken

      If more than MaxResults profile associations match the specified criteria, you can submit another ListProfileAssociations request to get the next group of results. In the next request, specify the value of NextToken from the previous response.

      Parameters:
      nextToken - If more than MaxResults profile associations match the specified criteria, you can submit another ListProfileAssociations request to get the next group of results. In the next request, specify the value of NextToken from the previous response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profileAssociations

      ListProfileAssociationsResponse.Builder profileAssociations(Collection<ProfileAssociation> profileAssociations)

      A complex type that containts settings information about the profile's VPC associations.

      Parameters:
      profileAssociations - A complex type that containts settings information about the profile's VPC associations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profileAssociations

      ListProfileAssociationsResponse.Builder profileAssociations(ProfileAssociation... profileAssociations)

      A complex type that containts settings information about the profile's VPC associations.

      Parameters:
      profileAssociations - A complex type that containts settings information about the profile's VPC associations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • profileAssociations

      ListProfileAssociationsResponse.Builder profileAssociations(Consumer<ProfileAssociation.Builder>... profileAssociations)

      A complex type that containts settings information about the profile's VPC associations.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to profileAssociations(List<ProfileAssociation>).

      Parameters:
      profileAssociations - a consumer that will call methods on ProfileAssociation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: