Interface ListAwsServiceAccessForOrganizationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAwsServiceAccessForOrganizationResponse.Builder,ListAwsServiceAccessForOrganizationResponse>,OrganizationsResponse.Builder,SdkBuilder<ListAwsServiceAccessForOrganizationResponse.Builder,ListAwsServiceAccessForOrganizationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAwsServiceAccessForOrganizationResponse
public static interface ListAwsServiceAccessForOrganizationResponse.Builder extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<ListAwsServiceAccessForOrganizationResponse.Builder,ListAwsServiceAccessForOrganizationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAwsServiceAccessForOrganizationResponse.BuilderenabledServicePrincipals(Collection<EnabledServicePrincipal> enabledServicePrincipals)A list of the service principals for the services that are enabled to integrate with your organization.ListAwsServiceAccessForOrganizationResponse.BuilderenabledServicePrincipals(Consumer<EnabledServicePrincipal.Builder>... enabledServicePrincipals)A list of the service principals for the services that are enabled to integrate with your organization.ListAwsServiceAccessForOrganizationResponse.BuilderenabledServicePrincipals(EnabledServicePrincipal... enabledServicePrincipals)A list of the service principals for the services that are enabled to integrate with your organization.ListAwsServiceAccessForOrganizationResponse.BuildernextToken(String nextToken)If present, indicates that more output is available than is included in the current response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.organizations.model.OrganizationsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
ListAwsServiceAccessForOrganizationResponse.Builder enabledServicePrincipals(Consumer<EnabledServicePrincipal.Builder>... 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 theEnabledServicePrincipal.Builderavoiding the need to create one manually viaEnabledServicePrincipal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#enabledServicePrincipals(List.) - Parameters:
enabledServicePrincipals- a consumer that will call methods onEnabledServicePrincipal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#enabledServicePrincipals(java.util.Collection)
-
nextToken
ListAwsServiceAccessForOrganizationResponse.Builder nextToken(String nextToken)
If present, indicates that more output is available than is included in the current response. Use this value in the
NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull.- Parameters:
nextToken- If present, indicates that more output is available than is included in the current response. Use this value in theNextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-