Interface ListServicePrincipalNamesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListServicePrincipalNamesResponse.Builder,,ListServicePrincipalNamesResponse> PcaConnectorAdResponse.Builder,SdkBuilder<ListServicePrincipalNamesResponse.Builder,,ListServicePrincipalNamesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListServicePrincipalNamesResponse
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
copyMethods inherited from interface software.amazon.awssdk.services.pcaconnectorad.model.PcaConnectorAdResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
NextTokenparameter 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 theNextTokenparameter 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.Builderavoiding the need to create one manually viaServicePrincipalNameSummary.builder().When the
Consumercompletes,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:
-