Interface ResetServiceSpecificCredentialResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ResetServiceSpecificCredentialResponse.Builder,ResetServiceSpecificCredentialResponse>,IamResponse.Builder,SdkBuilder<ResetServiceSpecificCredentialResponse.Builder,ResetServiceSpecificCredentialResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ResetServiceSpecificCredentialResponse
@Mutable @NotThreadSafe public static interface ResetServiceSpecificCredentialResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<ResetServiceSpecificCredentialResponse.Builder,ResetServiceSpecificCredentialResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ResetServiceSpecificCredentialResponse.BuilderserviceSpecificCredential(Consumer<ServiceSpecificCredential.Builder> serviceSpecificCredential)A structure with details about the updated service-specific credential, including the new password.ResetServiceSpecificCredentialResponse.BuilderserviceSpecificCredential(ServiceSpecificCredential serviceSpecificCredential)A structure with details about the updated service-specific credential, including the new password.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
serviceSpecificCredential
ResetServiceSpecificCredentialResponse.Builder serviceSpecificCredential(ServiceSpecificCredential serviceSpecificCredential)
A structure with details about the updated service-specific credential, including the new password.
This is the only time that you can access the password. You cannot recover the password later, but you can reset it again.
- Parameters:
serviceSpecificCredential- A structure with details about the updated service-specific credential, including the new password.This is the only time that you can access the password. You cannot recover the password later, but you can reset it again.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceSpecificCredential
default ResetServiceSpecificCredentialResponse.Builder serviceSpecificCredential(Consumer<ServiceSpecificCredential.Builder> serviceSpecificCredential)
A structure with details about the updated service-specific credential, including the new password.
This is a convenience method that creates an instance of theThis is the only time that you can access the password. You cannot recover the password later, but you can reset it again.
ServiceSpecificCredential.Builderavoiding the need to create one manually viaServiceSpecificCredential.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceSpecificCredential(ServiceSpecificCredential).- Parameters:
serviceSpecificCredential- a consumer that will call methods onServiceSpecificCredential.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
serviceSpecificCredential(ServiceSpecificCredential)
-
-