Interface ListAwsServiceAccessForOrganizationResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListAwsServiceAccessForOrganizationResponse.Builder,ListAwsServiceAccessForOrganizationResponse>, OrganizationsResponse.Builder, SdkBuilder<ListAwsServiceAccessForOrganizationResponse.Builder,ListAwsServiceAccessForOrganizationResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListAwsServiceAccessForOrganizationResponse

  • Method Details

    • enabledServicePrincipals

      ListAwsServiceAccessForOrganizationResponse.Builder enabledServicePrincipals(Collection<EnabledServicePrincipal> enabledServicePrincipals)

      A list of the service principals for the services that are enabled to integrate with your organization. Each principal is a structure that includes the name and the date that it was enabled for integration with Organizations.

      Parameters:
      enabledServicePrincipals - A list of the service principals for the services that are enabled to integrate with your organization. Each principal is a structure that includes the name and the date that it was enabled for integration with Organizations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabledServicePrincipals

      ListAwsServiceAccessForOrganizationResponse.Builder enabledServicePrincipals(EnabledServicePrincipal... enabledServicePrincipals)

      A list of the service principals for the services that are enabled to integrate with your organization. Each principal is a structure that includes the name and the date that it was enabled for integration with Organizations.

      Parameters:
      enabledServicePrincipals - A list of the service principals for the services that are enabled to integrate with your organization. Each principal is a structure that includes the name and the date that it was enabled for integration with Organizations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabledServicePrincipals

      A list of the service principals for the services that are enabled to integrate with your organization. Each principal is a structure that includes the name and the date that it was enabled for integration with Organizations.

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

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

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

      If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

      Parameters:
      nextToken - If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.