Class EmailApiTokenAuthentication
java.lang.Object
com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<EmailApiTokenAuthenticationProperties>
com.atlassian.bamboo.specs.builders.repository.bitbucket.cloud.EmailApiTokenAuthentication
public class EmailApiTokenAuthentication
extends EntityPropertiesBuilder<EmailApiTokenAuthenticationProperties>
Email/API token authentication method for bitbucket cloud repository.
-
Constructor Summary
ConstructorsConstructorDescriptionSpecifies new email/API token credentials for Bitbucket Cloud repository. -
Method Summary
Modifier and TypeMethodDescriptionSets the API token to an account.protected EmailApiTokenAuthenticationPropertiesbuild()Sets Bitbucket Cloud email.
-
Constructor Details
-
EmailApiTokenAuthentication
Specifies new email/API token credentials for Bitbucket Cloud repository.- Parameters:
email- user email
-
EmailApiTokenAuthentication
public EmailApiTokenAuthentication()
-
-
Method Details
-
email
Sets Bitbucket Cloud email. -
apiToken
Sets the API token to an account. The API token can be both in Bamboo encrypted and plain form. -
build
- Specified by:
buildin classEntityPropertiesBuilder<EmailApiTokenAuthenticationProperties>
-