Interface DescribeProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeProfileResponse.Builder,
,DescribeProfileResponse> SdkBuilder<DescribeProfileResponse.Builder,
,DescribeProfileResponse> SdkPojo
,SdkResponse.Builder
,TransferResponse.Builder
- Enclosing class:
DescribeProfileResponse
public static interface DescribeProfileResponse.Builder
extends TransferResponse.Builder, SdkPojo, CopyableBuilder<DescribeProfileResponse.Builder,DescribeProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeProfileResponse.Builder
profile
(Consumer<DescribedProfile.Builder> profile) The details of the specified profile, returned as an object.profile
(DescribedProfile profile) The details of the specified profile, returned as an object.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
profile
The details of the specified profile, returned as an object.
- Parameters:
profile
- The details of the specified profile, returned as an object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profile
The details of the specified profile, returned as an object.
This is a convenience method that creates an instance of theDescribedProfile.Builder
avoiding the need to create one manually viaDescribedProfile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprofile(DescribedProfile)
.- Parameters:
profile
- a consumer that will call methods onDescribedProfile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-