Interface GetServicePrincipalNameResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetServicePrincipalNameResponse.Builder,,GetServicePrincipalNameResponse> PcaConnectorAdResponse.Builder,SdkBuilder<GetServicePrincipalNameResponse.Builder,,GetServicePrincipalNameResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetServicePrincipalNameResponse
public static interface GetServicePrincipalNameResponse.Builder
extends PcaConnectorAdResponse.Builder, SdkPojo, CopyableBuilder<GetServicePrincipalNameResponse.Builder,GetServicePrincipalNameResponse>
-
Method Summary
Modifier and TypeMethodDescriptionservicePrincipalName(Consumer<ServicePrincipalName.Builder> servicePrincipalName) The service principal name that the connector uses to authenticate with Active Directory.servicePrincipalName(ServicePrincipalName servicePrincipalName) The service principal name 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
-
servicePrincipalName
GetServicePrincipalNameResponse.Builder servicePrincipalName(ServicePrincipalName servicePrincipalName) The service principal name that the connector uses to authenticate with Active Directory.
- Parameters:
servicePrincipalName- The service principal name that the connector uses to authenticate with Active Directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
servicePrincipalName
default GetServicePrincipalNameResponse.Builder servicePrincipalName(Consumer<ServicePrincipalName.Builder> servicePrincipalName) The service principal name that the connector uses to authenticate with Active Directory.
This is a convenience method that creates an instance of theServicePrincipalName.Builderavoiding the need to create one manually viaServicePrincipalName.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toservicePrincipalName(ServicePrincipalName).- Parameters:
servicePrincipalName- a consumer that will call methods onServicePrincipalName.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-