Interface GetChallengeMetadataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetChallengeMetadataResponse.Builder,,GetChallengeMetadataResponse> PcaConnectorScepResponse.Builder,SdkBuilder<GetChallengeMetadataResponse.Builder,,GetChallengeMetadataResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetChallengeMetadataResponse
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
copyMethods inherited from interface software.amazon.awssdk.services.pcaconnectorscep.model.PcaConnectorScepResponse.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
-
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.Builderavoiding the need to create one manually viaChallengeMetadata.builder().When the
Consumercompletes,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:
-