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.Builderprofile(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
copyMethods 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, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaDescribedProfile.builder().When the
Consumercompletes,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:
-