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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeProfileResponse.Builderprofile(Consumer<DescribedProfile.Builder> profile)The details of the specified profile, returned as an object.DescribeProfileResponse.Builderprofile(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, sdkFieldNameToField, 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 Detail
-
profile
DescribeProfileResponse.Builder profile(DescribedProfile 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
default DescribeProfileResponse.Builder profile(Consumer<DescribedProfile.Builder> 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:
profile(DescribedProfile)
-
-