public static class CreateCredentialsOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
CreateCredentialsOptions.Builder()
Instantiates a new builder.
|
CreateCredentialsOptions.Builder(java.lang.String environmentId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateCredentialsOptions |
build()
Builds a CreateCredentialsOptions.
|
CreateCredentialsOptions.Builder |
credentialDetails(CredentialDetails credentialDetails)
Set the credentialDetails.
|
CreateCredentialsOptions.Builder |
credentials(Credentials credentials)
Set the credentials.
|
CreateCredentialsOptions.Builder |
environmentId(java.lang.String environmentId)
Set the environmentId.
|
CreateCredentialsOptions.Builder |
sourceType(java.lang.String sourceType)
Set the sourceType.
|
public CreateCredentialsOptions.Builder()
public CreateCredentialsOptions.Builder(java.lang.String environmentId)
environmentId
- the environmentIdpublic CreateCredentialsOptions build()
public CreateCredentialsOptions.Builder environmentId(java.lang.String environmentId)
environmentId
- the environmentIdpublic CreateCredentialsOptions.Builder sourceType(java.lang.String sourceType)
sourceType
- the sourceTypepublic CreateCredentialsOptions.Builder credentialDetails(CredentialDetails credentialDetails)
credentialDetails
- the credentialDetailspublic CreateCredentialsOptions.Builder credentials(Credentials credentials)
credentials
- the credentials