Interface GetPublicKeyConfigResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<GetPublicKeyConfigResponse.Builder,GetPublicKeyConfigResponse>,SdkBuilder<GetPublicKeyConfigResponse.Builder,GetPublicKeyConfigResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetPublicKeyConfigResponse
@Mutable @NotThreadSafe public static interface GetPublicKeyConfigResponse.Builder extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<GetPublicKeyConfigResponse.Builder,GetPublicKeyConfigResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetPublicKeyConfigResponse.BuildereTag(String eTag)The identifier for this version of the public key configuration.default GetPublicKeyConfigResponse.BuilderpublicKeyConfig(Consumer<PublicKeyConfig.Builder> publicKeyConfig)A public key configuration.GetPublicKeyConfigResponse.BuilderpublicKeyConfig(PublicKeyConfig publicKeyConfig)A public key configuration.-
Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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 Detail
-
publicKeyConfig
GetPublicKeyConfigResponse.Builder publicKeyConfig(PublicKeyConfig publicKeyConfig)
A public key configuration.
- Parameters:
publicKeyConfig- A public key configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKeyConfig
default GetPublicKeyConfigResponse.Builder publicKeyConfig(Consumer<PublicKeyConfig.Builder> publicKeyConfig)
A public key configuration.
This is a convenience method that creates an instance of thePublicKeyConfig.Builderavoiding the need to create one manually viaPublicKeyConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topublicKeyConfig(PublicKeyConfig).- Parameters:
publicKeyConfig- a consumer that will call methods onPublicKeyConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
publicKeyConfig(PublicKeyConfig)
-
eTag
GetPublicKeyConfigResponse.Builder eTag(String eTag)
The identifier for this version of the public key configuration.
- Parameters:
eTag- The identifier for this version of the public key configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-