Package com.google.auth.oauth2
Class ExternalAccountSupplierContext.Builder
- java.lang.Object
-
- com.google.auth.oauth2.ExternalAccountSupplierContext.Builder
-
- Enclosing class:
- ExternalAccountSupplierContext
static class ExternalAccountSupplierContext.Builder extends java.lang.Object
Builder for external account supplier context.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
audience
protected java.lang.String
subjectTokenType
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) ExternalAccountSupplierContext
build()
(package private) ExternalAccountSupplierContext.Builder
setAudience(java.lang.String audience)
Sets the Audience.(package private) ExternalAccountSupplierContext.Builder
setSubjectTokenType(ExternalAccountCredentials.SubjectTokenTypes subjectTokenType)
Sets the subject token type.(package private) ExternalAccountSupplierContext.Builder
setSubjectTokenType(java.lang.String subjectTokenType)
Sets the subject token type.
-
-
-
Method Detail
-
setAudience
@CanIgnoreReturnValue ExternalAccountSupplierContext.Builder setAudience(java.lang.String audience)
Sets the Audience.- Parameters:
audience
- the audience to set- Returns:
- this
Builder
object
-
setSubjectTokenType
@CanIgnoreReturnValue ExternalAccountSupplierContext.Builder setSubjectTokenType(java.lang.String subjectTokenType)
Sets the subject token type.- Parameters:
subjectTokenType
- the subjectTokenType to set.- Returns:
- this
Builder
object
-
setSubjectTokenType
@CanIgnoreReturnValue ExternalAccountSupplierContext.Builder setSubjectTokenType(ExternalAccountCredentials.SubjectTokenTypes subjectTokenType)
Sets the subject token type.- Parameters:
subjectTokenType
- the subjectTokenType to set.- Returns:
- this
Builder
object
-
build
ExternalAccountSupplierContext build()
-
-