Interface CreateServiceSpecificCredentialResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateServiceSpecificCredentialResponse.Builder,CreateServiceSpecificCredentialResponse>
,IamResponse.Builder
,SdkBuilder<CreateServiceSpecificCredentialResponse.Builder,CreateServiceSpecificCredentialResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateServiceSpecificCredentialResponse
public static interface CreateServiceSpecificCredentialResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<CreateServiceSpecificCredentialResponse.Builder,CreateServiceSpecificCredentialResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateServiceSpecificCredentialResponse.Builder
serviceSpecificCredential(Consumer<ServiceSpecificCredential.Builder> serviceSpecificCredential)
A structure that contains information about the newly created service-specific credential.CreateServiceSpecificCredentialResponse.Builder
serviceSpecificCredential(ServiceSpecificCredential serviceSpecificCredential)
A structure that contains information about the newly created service-specific credential.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
serviceSpecificCredential
CreateServiceSpecificCredentialResponse.Builder serviceSpecificCredential(ServiceSpecificCredential serviceSpecificCredential)
A structure that contains information about the newly created service-specific credential.
This is the only time that the password for this credential set is available. It cannot be recovered later. Instead, you must reset the password with ResetServiceSpecificCredential.
- Parameters:
serviceSpecificCredential
- A structure that contains information about the newly created service-specific credential.This is the only time that the password for this credential set is available. It cannot be recovered later. Instead, you must reset the password with ResetServiceSpecificCredential.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceSpecificCredential
default CreateServiceSpecificCredentialResponse.Builder serviceSpecificCredential(Consumer<ServiceSpecificCredential.Builder> serviceSpecificCredential)
A structure that contains information about the newly created service-specific credential.
This is the only time that the password for this credential set is available. It cannot be recovered later. Instead, you must reset the password with ResetServiceSpecificCredential.
ServiceSpecificCredential.Builder
avoiding the need to create one manually viaServiceSpecificCredential.builder()
.When the
Consumer
completes,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)
-
-