Interface CreateKeyGroupResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CloudFrontResponse.Builder,- CopyableBuilder<CreateKeyGroupResponse.Builder,,- CreateKeyGroupResponse> - SdkBuilder<CreateKeyGroupResponse.Builder,,- CreateKeyGroupResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- CreateKeyGroupResponse
@Mutable
@NotThreadSafe
public static interface CreateKeyGroupResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CreateKeyGroupResponse.Builder,CreateKeyGroupResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionThe identifier for this version of the key group.default CreateKeyGroupResponse.BuilderkeyGroup(Consumer<KeyGroup.Builder> keyGroup) The key group that was just created.The key group that was just created.The URL of the key group.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
keyGroupThe key group that was just created. - Parameters:
- keyGroup- The key group that was just created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
keyGroupThe key group that was just created. This is a convenience method that creates an instance of theKeyGroup.Builderavoiding the need to create one manually viaKeyGroup.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeyGroup(KeyGroup).- Parameters:
- keyGroup- a consumer that will call methods on- KeyGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
locationThe URL of the key group. - Parameters:
- location- The URL of the key group.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eTagThe identifier for this version of the key group. - Parameters:
- eTag- The identifier for this version of the key group.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-