Interface RegisterServiceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RegisterServiceResponse.Builder,,RegisterServiceResponse> DevOpsAgentResponse.Builder,SdkBuilder<RegisterServiceResponse.Builder,,RegisterServiceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RegisterServiceResponse
@Mutable
@NotThreadSafe
public static interface RegisterServiceResponse.Builder
extends DevOpsAgentResponse.Builder, SdkPojo, CopyableBuilder<RegisterServiceResponse.Builder,RegisterServiceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RegisterServiceResponse.BuilderadditionalStep(Consumer<AdditionalServiceRegistrationStep.Builder> additionalStep) Indicates if additional steps are required to complete service registration (e.g., 3-legged OAuth)additionalStep(AdditionalServiceRegistrationStep additionalStep) Indicates if additional steps are required to complete service registration (e.g., 3-legged OAuth)The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's used to encrypt resources.Service ID - present when registration is complete, absent when additional steps are requiredTags associated with the registered Service.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsagent.model.DevOpsAgentResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
serviceId
Service ID - present when registration is complete, absent when additional steps are required
- Parameters:
serviceId- Service ID - present when registration is complete, absent when additional steps are required- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalStep
Indicates if additional steps are required to complete service registration (e.g., 3-legged OAuth)
- Parameters:
additionalStep- Indicates if additional steps are required to complete service registration (e.g., 3-legged OAuth)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalStep
default RegisterServiceResponse.Builder additionalStep(Consumer<AdditionalServiceRegistrationStep.Builder> additionalStep) Indicates if additional steps are required to complete service registration (e.g., 3-legged OAuth)
This is a convenience method that creates an instance of theAdditionalServiceRegistrationStep.Builderavoiding the need to create one manually viaAdditionalServiceRegistrationStep.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadditionalStep(AdditionalServiceRegistrationStep).- Parameters:
additionalStep- a consumer that will call methods onAdditionalServiceRegistrationStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyArn
The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's used to encrypt resources.
- Parameters:
kmsKeyArn- The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's used to encrypt resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags associated with the registered Service.
- Parameters:
tags- Tags associated with the registered Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-