Interface CreateFargateProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateFargateProfileResponse.Builder,
,CreateFargateProfileResponse> EksResponse.Builder
,SdkBuilder<CreateFargateProfileResponse.Builder,
,CreateFargateProfileResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateFargateProfileResponse
public static interface CreateFargateProfileResponse.Builder
extends EksResponse.Builder, SdkPojo, CopyableBuilder<CreateFargateProfileResponse.Builder,CreateFargateProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfargateProfile
(Consumer<FargateProfile.Builder> fargateProfile) The full description of your new Fargate profile.fargateProfile
(FargateProfile fargateProfile) The full description of your new Fargate profile.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eks.model.EksResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
fargateProfile
The full description of your new Fargate profile.
- Parameters:
fargateProfile
- The full description of your new Fargate profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fargateProfile
default CreateFargateProfileResponse.Builder fargateProfile(Consumer<FargateProfile.Builder> fargateProfile) The full description of your new Fargate profile.
This is a convenience method that creates an instance of theFargateProfile.Builder
avoiding the need to create one manually viaFargateProfile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofargateProfile(FargateProfile)
.- Parameters:
fargateProfile
- a consumer that will call methods onFargateProfile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-