@@ -61,10 +61,10 @@ private GcpIamCredentialsAuthenticationOptions(String path, GoogleCredentialsSup
6161 }
6262
6363 /**
64- * @return a new {@link GoogleCloudIamAuthenticationOptionsBuilder }.
64+ * @return a new {@link GcpIamCredentialsAuthenticationOptionsBuilder }.
6565 */
66- public static GoogleCloudIamAuthenticationOptionsBuilder builder () {
67- return new GoogleCloudIamAuthenticationOptionsBuilder ();
66+ public static GcpIamCredentialsAuthenticationOptionsBuilder builder () {
67+ return new GcpIamCredentialsAuthenticationOptionsBuilder ();
6868 }
6969
7070 /**
@@ -84,7 +84,7 @@ public GoogleCredentialsAccountIdAccessor getServiceAccountIdAccessor() {
8484 /**
8585 * Builder for {@link GcpIamCredentialsAuthenticationOptions}.
8686 */
87- public static class GoogleCloudIamAuthenticationOptionsBuilder {
87+ public static class GcpIamCredentialsAuthenticationOptionsBuilder {
8888
8989 private String path = DEFAULT_GCP_AUTHENTICATION_PATH ;
9090
@@ -100,15 +100,15 @@ public static class GoogleCloudIamAuthenticationOptionsBuilder {
100100
101101 private GoogleCredentialsAccountIdAccessor serviceAccountIdAccessor = DefaultGoogleCredentialsAccessors .INSTANCE ;
102102
103- GoogleCloudIamAuthenticationOptionsBuilder () {
103+ GcpIamCredentialsAuthenticationOptionsBuilder () {
104104 }
105105
106106 /**
107107 * Configure the mount path, defaults to {@literal aws}.
108108 * @param path must not be empty or {@literal null}.
109- * @return {@code this} {@link GoogleCloudIamAuthenticationOptionsBuilder }.
109+ * @return {@code this} {@link GcpIamCredentialsAuthenticationOptionsBuilder }.
110110 */
111- public GoogleCloudIamAuthenticationOptionsBuilder path (String path ) {
111+ public GcpIamCredentialsAuthenticationOptionsBuilder path (String path ) {
112112
113113 Assert .hasText (path , "Path must not be empty" );
114114
@@ -121,10 +121,10 @@ public GoogleCloudIamAuthenticationOptionsBuilder path(String path) {
121121 * use static credentials or provide a
122122 * {@link #credentialsSupplier(GoogleCredentialsSupplier) credentials provider}.
123123 * @param credentials must not be {@literal null}.
124- * @return {@code this} {@link GoogleCloudIamAuthenticationOptionsBuilder }.
124+ * @return {@code this} {@link GcpIamCredentialsAuthenticationOptionsBuilder }.
125125 * @see #credentialsSupplier(GoogleCredentialsSupplier)
126126 */
127- public GoogleCloudIamAuthenticationOptionsBuilder credentials (GoogleCredentials credentials ) {
127+ public GcpIamCredentialsAuthenticationOptionsBuilder credentials (GoogleCredentials credentials ) {
128128
129129 Assert .notNull (credentials , "ServiceAccountCredentials must not be null" );
130130
@@ -136,10 +136,10 @@ public GoogleCloudIamAuthenticationOptionsBuilder credentials(GoogleCredentials
136136 * Alternatively, configure static {@link #credentials(GoogleCredentials)
137137 * credentials}.
138138 * @param credentialsSupplier must not be {@literal null}.
139- * @return {@code this} {@link GoogleCloudIamAuthenticationOptionsBuilder }.
139+ * @return {@code this} {@link GcpIamCredentialsAuthenticationOptionsBuilder }.
140140 * @see #credentials(GoogleCredentials)
141141 */
142- public GoogleCloudIamAuthenticationOptionsBuilder credentialsSupplier (
142+ public GcpIamCredentialsAuthenticationOptionsBuilder credentialsSupplier (
143143 GoogleCredentialsSupplier credentialsSupplier ) {
144144
145145 Assert .notNull (credentialsSupplier , "GcpServiceAccountCredentialsSupplier must not be null" );
@@ -152,10 +152,10 @@ public GoogleCloudIamAuthenticationOptionsBuilder credentialsSupplier(
152152 * Configure an explicit service account id to use in GCP IAM calls. If none is
153153 * configured, falls back to using {@link ServiceAccountCredentials#getAccount()}.
154154 * @param serviceAccountId the service account id (email) to use
155- * @return {@code this} {@link GoogleCloudIamAuthenticationOptionsBuilder }.
155+ * @return {@code this} {@link GcpIamCredentialsAuthenticationOptionsBuilder }.
156156 * @since 2.1
157157 */
158- public GoogleCloudIamAuthenticationOptionsBuilder serviceAccountId (String serviceAccountId ) {
158+ public GcpIamCredentialsAuthenticationOptionsBuilder serviceAccountId (String serviceAccountId ) {
159159
160160 Assert .notNull (serviceAccountId , "Service account id may not be null" );
161161
@@ -167,10 +167,10 @@ public GoogleCloudIamAuthenticationOptionsBuilder serviceAccountId(String servic
167167 * account id used in GCP IAM calls. If none is configured, falls back to using
168168 * {@link ServiceAccountCredentials#getAccount()}.
169169 * @param serviceAccountIdAccessor the service account id provider to use
170- * @return {@code this} {@link GoogleCloudIamAuthenticationOptionsBuilder }.
170+ * @return {@code this} {@link GcpIamCredentialsAuthenticationOptionsBuilder }.
171171 * @see GoogleCredentialsAccountIdAccessor
172172 */
173- GoogleCloudIamAuthenticationOptionsBuilder serviceAccountIdAccessor (
173+ GcpIamCredentialsAuthenticationOptionsBuilder serviceAccountIdAccessor (
174174 GoogleCredentialsAccountIdAccessor serviceAccountIdAccessor ) {
175175
176176 Assert .notNull (serviceAccountIdAccessor , "GcpServiceAccountIdAccessor must not be null" );
@@ -182,9 +182,9 @@ GoogleCloudIamAuthenticationOptionsBuilder serviceAccountIdAccessor(
182182 /**
183183 * Configure the name of the role against which the login is being attempted.
184184 * @param role must not be empty or {@literal null}.
185- * @return {@code this} {@link GoogleCloudIamAuthenticationOptionsBuilder }.
185+ * @return {@code this} {@link GcpIamCredentialsAuthenticationOptionsBuilder }.
186186 */
187- public GoogleCloudIamAuthenticationOptionsBuilder role (String role ) {
187+ public GcpIamCredentialsAuthenticationOptionsBuilder role (String role ) {
188188
189189 Assert .hasText (role , "Role must not be null or empty" );
190190
@@ -196,9 +196,9 @@ public GoogleCloudIamAuthenticationOptionsBuilder role(String role) {
196196 * Configure the {@link Duration} for the JWT expiration. This defaults to 15
197197 * minutes and cannot be more than a hour.
198198 * @param jwtValidity must not be {@literal null}.
199- * @return {@code this} {@link GoogleCloudIamAuthenticationOptionsBuilder }.
199+ * @return {@code this} {@link GcpIamCredentialsAuthenticationOptionsBuilder }.
200200 */
201- public GoogleCloudIamAuthenticationOptionsBuilder jwtValidity (Duration jwtValidity ) {
201+ public GcpIamCredentialsAuthenticationOptionsBuilder jwtValidity (Duration jwtValidity ) {
202202
203203 Assert .hasText (this .role , "JWT validity duration must not be null" );
204204
@@ -210,9 +210,9 @@ public GoogleCloudIamAuthenticationOptionsBuilder jwtValidity(Duration jwtValidi
210210 * Configure the {@link Clock} used to calculate epoch seconds until the JWT
211211 * expiration.
212212 * @param clock must not be {@literal null}.
213- * @return {@code this} {@link GoogleCloudIamAuthenticationOptionsBuilder }.
213+ * @return {@code this} {@link GcpIamCredentialsAuthenticationOptionsBuilder }.
214214 */
215- public GoogleCloudIamAuthenticationOptionsBuilder clock (Clock clock ) {
215+ public GcpIamCredentialsAuthenticationOptionsBuilder clock (Clock clock ) {
216216
217217 Assert .hasText (this .role , "Clock must not be null" );
218218
0 commit comments