Class GetAccountJwtPlainArgs.Builder

  • Enclosing class:
    GetAccountJwtPlainArgs

    public static final class GetAccountJwtPlainArgs.Builder
    extends java.lang.Object
    • Method Detail

      • delegates

        public GetAccountJwtPlainArgs.Builder delegates​(@Nullable
                                                        java.util.List<java.lang.String> delegates)
        Parameters:
        delegates - Delegate chain of approvals needed to perform full impersonation. Specify the fully qualified service account name.
        Returns:
        builder
      • delegates

        public GetAccountJwtPlainArgs.Builder delegates​(java.lang.String... delegates)
        Parameters:
        delegates - Delegate chain of approvals needed to perform full impersonation. Specify the fully qualified service account name.
        Returns:
        builder
      • expiresIn

        public GetAccountJwtPlainArgs.Builder expiresIn​(@Nullable
                                                        java.lang.Integer expiresIn)
        Parameters:
        expiresIn - Number of seconds until the JWT expires. If set and non-zero an `exp` claim will be added to the payload derived from the current timestamp plus expires_in seconds.
        Returns:
        builder
      • payload

        public GetAccountJwtPlainArgs.Builder payload​(java.lang.String payload)
        Parameters:
        payload - The JSON-encoded JWT claims set to include in the self-signed JWT.
        Returns:
        builder
      • targetServiceAccount

        public GetAccountJwtPlainArgs.Builder targetServiceAccount​(java.lang.String targetServiceAccount)
        Parameters:
        targetServiceAccount - The email of the service account that will sign the JWT.
        Returns:
        builder