Interface GetChallengeMetadataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetChallengeMetadataResponse.Builder,
,GetChallengeMetadataResponse> PcaConnectorScepResponse.Builder
,SdkBuilder<GetChallengeMetadataResponse.Builder,
,GetChallengeMetadataResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetChallengeMetadataResponse
@Mutable
@NotThreadSafe
public static interface GetChallengeMetadataResponse.Builder
extends PcaConnectorScepResponse.Builder, SdkPojo, CopyableBuilder<GetChallengeMetadataResponse.Builder,GetChallengeMetadataResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchallengeMetadata
(Consumer<ChallengeMetadata.Builder> challengeMetadata) The metadata for the challenge.challengeMetadata
(ChallengeMetadata challengeMetadata) The metadata for the challenge.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pcaconnectorscep.model.PcaConnectorScepResponse.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
-
challengeMetadata
The metadata for the challenge.
- Parameters:
challengeMetadata
- The metadata for the challenge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
challengeMetadata
default GetChallengeMetadataResponse.Builder challengeMetadata(Consumer<ChallengeMetadata.Builder> challengeMetadata) The metadata for the challenge.
This is a convenience method that creates an instance of theChallengeMetadata.Builder
avoiding the need to create one manually viaChallengeMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochallengeMetadata(ChallengeMetadata)
.- Parameters:
challengeMetadata
- a consumer that will call methods onChallengeMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-