Interface ListServicePrincipalNamesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListServicePrincipalNamesResponse.Builder,
,ListServicePrincipalNamesResponse> PcaConnectorAdResponse.Builder
,SdkBuilder<ListServicePrincipalNamesResponse.Builder,
,ListServicePrincipalNamesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListServicePrincipalNamesResponse
@Mutable
@NotThreadSafe
public static interface ListServicePrincipalNamesResponse.Builder
extends PcaConnectorAdResponse.Builder, SdkPojo, CopyableBuilder<ListServicePrincipalNamesResponse.Builder,ListServicePrincipalNamesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionUse this parameter when paginating results in a subsequent request after you receive a response with truncated results.servicePrincipalNames
(Collection<ServicePrincipalNameSummary> servicePrincipalNames) The service principal name, if any, that the connector uses to authenticate with Active Directory.servicePrincipalNames
(Consumer<ServicePrincipalNameSummary.Builder>... servicePrincipalNames) The service principal name, if any, that the connector uses to authenticate with Active Directory.servicePrincipalNames
(ServicePrincipalNameSummary... servicePrincipalNames) The service principal name, if any, that the connector uses to authenticate with Active Directory.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pcaconnectorad.model.PcaConnectorAdResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of the
NextToken
parameter from the response you just received.- Parameters:
nextToken
- Use this parameter when paginating results in a subsequent request after you receive a response with truncated results. Set it to the value of theNextToken
parameter from the response you just received.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servicePrincipalNames
ListServicePrincipalNamesResponse.Builder servicePrincipalNames(Collection<ServicePrincipalNameSummary> servicePrincipalNames) The service principal name, if any, that the connector uses to authenticate with Active Directory.
- Parameters:
servicePrincipalNames
- The service principal name, if any, that the connector uses to authenticate with Active Directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servicePrincipalNames
ListServicePrincipalNamesResponse.Builder servicePrincipalNames(ServicePrincipalNameSummary... servicePrincipalNames) The service principal name, if any, that the connector uses to authenticate with Active Directory.
- Parameters:
servicePrincipalNames
- The service principal name, if any, that the connector uses to authenticate with Active Directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servicePrincipalNames
ListServicePrincipalNamesResponse.Builder servicePrincipalNames(Consumer<ServicePrincipalNameSummary.Builder>... servicePrincipalNames) The service principal name, if any, that the connector uses to authenticate with Active Directory.
This is a convenience method that creates an instance of theServicePrincipalNameSummary.Builder
avoiding the need to create one manually viaServicePrincipalNameSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toservicePrincipalNames(List<ServicePrincipalNameSummary>)
.- Parameters:
servicePrincipalNames
- a consumer that will call methods onServicePrincipalNameSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-